mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 08:55:36 +00:00
9c72c022b22ca7f4a8d0a44e65bcece4d73e0e56
Extract the USB_CLIENT_OPEN state handling into handle_open_state_() to keep loop() hot path small (~112 B vs 440 B before). Replace get_descriptor_string() std::string return with caller-provided fixed-size buffer via std::span to eliminate heap allocation during device connection.
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
545 MiB
Languages
C++
60.1%
Python
39.3%
C
0.3%
JavaScript
0.2%
