mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 09:38:42 +00:00
641289915f76cc51b955cb3fad537f0d89bcb5c4
Add an atomic counter incremented when events are enqueued and decremented when dequeued. wifi_loop_() checks this counter before calling xQueueReceive, avoiding the FreeRTOS kernel call on every loop iteration when no events are pending (the common case). This matches the fast-path pattern used by the scheduler to avoid lock overhead when there is nothing to process.
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
601 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
