mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 07:08:20 +00:00
Update ds248x.h
init pointer to nullptr
This commit is contained in:
parent
49cfaab79a
commit
b024c53a6d
@ -44,7 +44,7 @@ class DS248xComponent : public PollingComponent, public i2c::I2CDevice {
|
|||||||
uint8_t channel_ = 0;
|
uint8_t channel_ = 0;
|
||||||
bool last_device_found_;
|
bool last_device_found_;
|
||||||
|
|
||||||
InternalGPIOPin *sleep_pin_;
|
InternalGPIOPin *sleep_pin_ = nullptr;
|
||||||
|
|
||||||
DS248xType ds248x_type_ = DS248xType::DS2482_100;
|
DS248xType ds248x_type_ = DS248xType::DS2482_100;
|
||||||
bool enable_bus_sleep_ = false;
|
bool enable_bus_sleep_ = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user