mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-07 13:24:56 +02:00
Unify 'nullptr' initalization of class members; (#3805)
This commit is contained in:
@@ -58,9 +58,9 @@ class HydreonRGxxComponent : public PollingComponent, public uart::UARTDevice {
|
||||
|
||||
sensor::Sensor *sensors_[NUM_SENSORS] = {nullptr};
|
||||
#ifdef USE_BINARY_SENSOR
|
||||
binary_sensor::BinarySensor *too_cold_sensor_ = nullptr;
|
||||
binary_sensor::BinarySensor *lens_bad_sensor_ = nullptr;
|
||||
binary_sensor::BinarySensor *em_sat_sensor_ = nullptr;
|
||||
binary_sensor::BinarySensor *too_cold_sensor_{nullptr};
|
||||
binary_sensor::BinarySensor *lens_bad_sensor_{nullptr};
|
||||
binary_sensor::BinarySensor *em_sat_sensor_{nullptr};
|
||||
#endif
|
||||
|
||||
int16_t boot_count_ = 0;
|
||||
|
||||
Reference in New Issue
Block a user