1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-20 12:12:24 +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

@@ -6,7 +6,6 @@ namespace cst226 {
static const char *const TAG = "cst226.touchscreen";
void CST226Touchscreen::setup() {
ESP_LOGCONFIG(TAG, "Running setup");
if (this->reset_pin_ != nullptr) {
this->reset_pin_->setup();
this->reset_pin_->digital_write(true);
@@ -95,7 +94,6 @@ void CST226Touchscreen::continue_setup_() {
}
}
this->setup_complete_ = true;
ESP_LOGCONFIG(TAG, "CST226 Touchscreen setup complete");
}
void CST226Touchscreen::update_button_state_(bool state) {
if (this->button_touched_ == state)