mirror of
https://github.com/esphome/esphome.git
synced 2026-09-15 17:18:40 +00:00
c155f411109c97c94193ed1eb27227520ddc4167
Move millis() to an inline function in hal.h that just returns xTaskGetTickCount() -- eliminates the function call entirely at every call site. No IRAM consumed, no flash function call. Drop IRAM_ATTR from the fallback path. The original IRAM placement was inherited from ESP8266 where Arduino millis() is called from ISR handlers (Wiegand, ZyAura). ESPHome does not call millis() from ISR on ESP32.
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%
