mirror of
https://github.com/esphome/esphome.git
synced 2026-10-03 01:35:59 +00:00
Enable readability-redundant-member-init check (#3097)
This commit is contained in:
@@ -10,8 +10,7 @@ namespace modbus_controller {
|
||||
class ModbusSwitch : public Component, public switch_::Switch, public SensorItem {
|
||||
public:
|
||||
ModbusSwitch(ModbusRegisterType register_type, uint16_t start_address, uint8_t offset, uint32_t bitmask,
|
||||
uint8_t skip_updates, bool force_new_range)
|
||||
: Component(), switch_::Switch() {
|
||||
uint8_t skip_updates, bool force_new_range) {
|
||||
this->register_type = register_type;
|
||||
this->start_address = start_address;
|
||||
this->offset = offset;
|
||||
|
||||
Reference in New Issue
Block a user