mirror of
https://github.com/esphome/esphome.git
synced 2026-02-28 01:44:20 -07:00
2d61d442cf6fe1a2dec50224f6804507744fb07d
Convert setup_priority floats, component state uint8_t constants, and status LED constants from extern const (defined in component.cpp) to inline constexpr in the header. This lets the compiler use immediate values instead of memory loads across all translation units. Also removes the dead HARDWARE_LATE declaration (declared extern but never defined). Saves ~364 bytes flash on ESP32-S3.
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
516 MiB
Languages
C++
64.1%
Python
35.5%
C
0.3%
