1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00: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

@@ -7,7 +7,6 @@ namespace ttp229_lsf {
static const char *const TAG = "ttp229_lsf";
void TTP229LSFComponent::setup() {
ESP_LOGCONFIG(TAG, "Running setup");
uint8_t data[2];
if (this->read(data, 2) != i2c::ERROR_OK) {
this->error_code_ = COMMUNICATION_FAILED;