mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 09:38:42 +00:00
fe6ba153bc3844c371f18f50206a568850abefb8
Remove the redundant s_socket_woke = false between the early-return check and the while loop. If an IRQ fires in that window (recv_fn sets s_socket_woke = true), clearing the flag would lose the wake and sleep until the timer fires. Now the while loop sees the flag immediately and exits. The flag is cleared after the loop instead.
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%
