mirror of
https://github.com/esphome/esphome.git
synced 2026-02-08 16:51:52 +00:00
fixes
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user