mirror of
https://github.com/esphome/esphome.git
synced 2025-10-26 04:33:47 +00:00
[core] Centralize component setup logging to reduce flash usage (#9885)
This commit is contained in:
@@ -129,8 +129,6 @@ void IRAM_ATTR HOT RotaryEncoderSensorStore::gpio_intr(RotaryEncoderSensorStore
|
||||
}
|
||||
|
||||
void RotaryEncoderSensor::setup() {
|
||||
ESP_LOGCONFIG(TAG, "Running setup for '%s'", this->name_.c_str());
|
||||
|
||||
int32_t initial_value = 0;
|
||||
switch (this->restore_mode_) {
|
||||
case ROTARY_ENCODER_RESTORE_DEFAULT_ZERO:
|
||||
|
||||
Reference in New Issue
Block a user