mirror of
https://github.com/esphome/esphome.git
synced 2026-09-15 17:18:40 +00:00
9d2d4f22434a1bf22261a0b11a455f2c92439758
Move Application::loop() from application.cpp to application.h as inline ESPHOME_ALWAYS_INLINE so the compiler can inline it at all call sites. On ESP32, loop_task() now calls App.loop() directly instead of going through the generated loop() wrapper. This eliminates one stack frame from the main loop call chain on all platforms, producing cleaner crash backtraces and reducing function call overhead on every loop iteration.
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%
