1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-25 13:13:48 +01:00

[core] Centralize component setup logging to reduce flash usage (#9885)

This commit is contained in:
J. Nick Koston
2025-07-25 09:27:03 -10:00
committed by GitHub
parent 2b87589562
commit b7ce8c116b
288 changed files with 26 additions and 460 deletions

View File

@@ -11,7 +11,6 @@ static const uint8_t LCD_DISPLAY_BACKLIGHT_ON = 0x08;
static const uint8_t LCD_DISPLAY_BACKLIGHT_OFF = 0x00;
void PCF8574LCDDisplay::setup() {
ESP_LOGCONFIG(TAG, "Running setup");
this->backlight_value_ = LCD_DISPLAY_BACKLIGHT_ON;
if (!this->write_bytes(this->backlight_value_, nullptr, 0)) {
this->mark_failed();