Enable readability-redundant-member-init check (#3097)
This commit is contained in:
1 parent
a31700e16f
commit
7da12a878f
22 files changed
+22
-30
No files matched your search
@@ -10,8 +10,7 @@ namespace modbus_controller {
|
||||
class ModbusBinarySensor : public Component, public binary_sensor::BinarySensor, public SensorItem {
|
||||
public:
|
||||
ModbusBinarySensor(ModbusRegisterType register_type, uint16_t start_address, uint8_t offset, uint32_t bitmask,
|
||||
uint8_t skip_updates, bool force_new_range)
|
||||
: Component(), binary_sensor::BinarySensor() {
|
||||
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