1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-27 05:03:48 +00:00

[core] Convert LOG_UPDATE_INTERVAL macro to function to reduce flash usage (#10636)

This commit is contained in:
J. Nick Koston
2025-09-07 16:09:15 -05:00
committed by GitHub
parent a8b8507ffc
commit 0c737fc4df
10 changed files with 27 additions and 16 deletions

View File

@@ -18,7 +18,7 @@ void IRAM_ATTR PulseWidthSensorStore::gpio_intr(PulseWidthSensorStore *arg) {
void PulseWidthSensor::dump_config() {
LOG_SENSOR("", "Pulse Width", this);
LOG_UPDATE_INTERVAL(this)
LOG_UPDATE_INTERVAL(this);
LOG_PIN(" Pin: ", this->pin_);
}
void PulseWidthSensor::update() {