mirror of
https://github.com/esphome/esphome.git
synced 2026-09-15 17:18:40 +00:00
939b3d383ccf37d1e8637ed94896f182ccee1405
process_to_add() has the same pattern as cleanup_(): a one-line inline fast path (check if to_add_ is empty) with the slow path already out-of-line in process_to_add_slow_path_(). GCC inlines it on ESP8266 but not on ESP32, emitting a 20-byte out-of-line body. Use ESPHOME_ALWAYS_INLINE to guarantee inlining on all platforms. Verified on ESP32 (xtensa-esp32): - process_to_add() symbol eliminated from binary - Scheduler::call() idle path: 1 out-of-line call (millis_64 only)
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
597 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
