mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-24 22:58:30 +02:00
Enable readability-redundant-member-init check (#3097)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user