mirror of
https://github.com/esphome/esphome.git
synced 2026-02-28 01:44:20 -07:00
2a5ae59c20195e3ea63961d0798ed099ddd7b86f
Split the rarely-taken warning path into a separate noinline cold function so the hot path (called every component every loop iteration) is minimal. Also make WARN_IF_BLOCKING_OVER_MS constexpr so the compiler uses an immediate compare instead of a memory load, and merge the two ESP_LOGW calls into one. finish() shrinks from 108 to 30 bytes. Total flash savings: -116 bytes.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
516 MiB
Languages
C++
64.1%
Python
35.5%
C
0.3%
