1
0
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:
Jesse Hills
2022-11-23 10:32:51 +13:00
committed by GitHub
parent 91925b1826
commit ef26677b67
29 changed files with 133 additions and 68 deletions

View File

@@ -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);
}