1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-08 06:12:20 +01:00

Enable readability-redundant-member-init check (#3097)

This commit is contained in:
Oxan van Leeuwen
2022-01-23 08:34:43 +01:00
committed by GitHub
parent a31700e16f
commit 7da12a878f
22 changed files with 22 additions and 30 deletions

View File

@@ -393,7 +393,7 @@ class ModbusCommandItem {
class ModbusController : public PollingComponent, public modbus::ModbusDevice {
public:
ModbusController(uint16_t throttle = 0) : modbus::ModbusDevice(), command_throttle_(throttle){};
ModbusController(uint16_t throttle = 0) : command_throttle_(throttle){};
void dump_config() override;
void loop() override;
void setup() override;