mirror of
https://github.com/esphome/esphome.git
synced 2026-03-03 11:18:21 -07:00
ec2259733eecbff2f900ddb77b629694cc68aa34
A std::atomic_flag spinlock is unsafe on preemptive single-core RTOS platforms (like LN882H) due to priority inversion: a high-priority task spinning would prevent the lock holder from running to release it. FreeRTOS Mutex has priority inheritance to handle this correctly. Added a comment explaining why spinlock can't be used here. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
262 MiB
Languages
C++
64%
Python
35.6%
C
0.3%
