mirror of
https://github.com/esphome/esphome.git
synced 2025-09-28 08:02:23 +01:00
Unify 'nullptr' initalization of class members; (#3805)
This commit is contained in:
@@ -59,8 +59,8 @@ class PIDClimate : public climate::Climate, public Component {
|
||||
|
||||
/// The sensor used for getting the current temperature
|
||||
sensor::Sensor *sensor_;
|
||||
output::FloatOutput *cool_output_ = nullptr;
|
||||
output::FloatOutput *heat_output_ = nullptr;
|
||||
output::FloatOutput *cool_output_{nullptr};
|
||||
output::FloatOutput *heat_output_{nullptr};
|
||||
PIDController controller_;
|
||||
/// Output value as reported by the PID controller, for PIDClimateSensor
|
||||
float output_value_;
|
||||
|
Reference in New Issue
Block a user