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

@@ -38,7 +38,6 @@ static bool IRAM_ATTR HOT rmt_callback(rmt_channel_handle_t channel, const rmt_r
}
void RemoteReceiverComponent::setup() {
ESP_LOGCONFIG(TAG, "Running setup");
rmt_rx_channel_config_t channel;
memset(&channel, 0, sizeof(channel));
channel.clk_src = RMT_CLK_SRC_DEFAULT;

View File

@@ -31,7 +31,6 @@ void IRAM_ATTR HOT RemoteReceiverComponentStore::gpio_intr(RemoteReceiverCompone
}
void RemoteReceiverComponent::setup() {
ESP_LOGCONFIG(TAG, "Running setup");
this->pin_->setup();
auto &s = this->store_;
s.filter_us = this->filter_us_;

View File

@@ -31,7 +31,6 @@ void IRAM_ATTR HOT RemoteReceiverComponentStore::gpio_intr(RemoteReceiverCompone
}
void RemoteReceiverComponent::setup() {
ESP_LOGCONFIG(TAG, "Running setup");
this->pin_->setup();
auto &s = this->store_;
s.filter_us = this->filter_us_;