mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 01:28:39 +00:00
5d2f56856507c30af5f9e2b0cd206630367d1105
Replace atomic counter with a simple flag to avoid underflow race where consumer could decrement before producer increments. Use uint8_t instead of bool to avoid GCC Xtensa indirect call issue. Clear flag before draining — if a new event arrives between clear and xQueueReceive, the flag is set again and caught next 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
596 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
