1
0
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:
RoboMagus
2022-09-15 01:53:02 +02:00
committed by GitHub
parent aaf50fc2e6
commit 78b55d86e9
10 changed files with 16 additions and 16 deletions

View File

@@ -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_;