mirror of
https://github.com/esphome/esphome.git
synced 2025-09-18 19:22:22 +01:00
Always use brackets around single log macros (#4072)
This commit is contained in:
@@ -117,10 +117,11 @@ void ADCSensor::dump_config() {
|
||||
}
|
||||
#endif // USE_ESP32
|
||||
#ifdef USE_RP2040
|
||||
if (this->is_temperature_)
|
||||
if (this->is_temperature_) {
|
||||
ESP_LOGCONFIG(TAG, " Pin: Temperature");
|
||||
else
|
||||
} else {
|
||||
LOG_PIN(" Pin: ", pin_);
|
||||
}
|
||||
#endif
|
||||
LOG_UPDATE_INTERVAL(this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user