mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 08:55:36 +00:00
5e7895bf261fa81c963a0696f699de9f75f0f985
Move get_component_log_str() from component.cpp into the header as an always_inline method. This is a trivial one-liner that just calls component_source_lookup(), but the compiler was keeping it out-of-line across 8 call sites (13 bytes). Saves 8 bytes on ESP32.
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%
