mirror of
https://github.com/esphome/esphome.git
synced 2026-09-15 09:08:41 +00:00
010e778cd060fd3afe792e0b6f67fc658ce01276
wifi_sta_connect_status_() is a non-inlined function call that reads 3 static globals through literal pool indirections on every loop iteration. Since those globals are only modified during event processing, skip the call entirely when wifi_loop_() found no events and we're already in STA_CONNECTED state. wifi_loop_() now returns bool (true if events were processed) on all platforms. ESP8266 and Pico W always return true since they poll state directly rather than using an event queue.
…
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
594 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
