mirror of
https://github.com/esphome/esphome.git
synced 2026-09-12 15:57:33 +00:00
0f9158d37be9a9d832d6995f830c30fb38accfaa
Move get_use_address()/set_use_address() definitions to headers for wifi, ethernet, and openthread components so the compiler can inline them. Also inline network::get_use_address() in the header, matching the existing pattern used by network::is_connected(). This allows the compiler to collapse the two-level indirection (network::get_use_address -> component->get_use_address -> field load) into a single pointer dereference at each call site. Saves 24 bytes of 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
592 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
