1
0
mirror of https://github.com/esphome/esphome.git synced 2026-02-08 16:51:52 +00:00
This commit is contained in:
J. Nick Koston
2025-12-27 21:29:00 -10:00
parent 53fa89d0e3
commit 0f8bef5543

View File

@@ -282,8 +282,7 @@ async def finalize_waveform_config() -> None:
"""
if not CORE.data.get(KEY_ESP8266, {}).get(KEY_WAVEFORM_REQUIRED, False):
# No component needs waveform - enable stubs and exclude Arduino waveform code
# Add both define (for C++ code) and build flag (for PlatformIO script)
cg.add_define("USE_ESP8266_WAVEFORM_STUBS")
# Use build flag (visible to both C++ code and PlatformIO script)
cg.add_build_flag("-DUSE_ESP8266_WAVEFORM_STUBS")