mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 16:37:52 +01:00
Dont warn on nonnull comparisons (#3123)
This commit is contained in:
parent
434ca47ea0
commit
1c0697b5d4
@ -166,6 +166,7 @@ async def to_code(config):
|
||||
cg.add_platformio_option("framework", "arduino")
|
||||
cg.add_build_flag("-DUSE_ARDUINO")
|
||||
cg.add_build_flag("-DUSE_ESP8266_FRAMEWORK_ARDUINO")
|
||||
cg.add_build_flag("-Wno-nonnull-compare")
|
||||
cg.add_platformio_option("platform", conf[CONF_PLATFORM_VERSION])
|
||||
cg.add_platformio_option(
|
||||
"platform_packages",
|
||||
|
@ -94,6 +94,7 @@ lib_deps =
|
||||
DNSServer ; captive_portal (Arduino built-in)
|
||||
build_flags =
|
||||
${common:arduino.build_flags}
|
||||
-Wno-nonnull-compare
|
||||
-DUSE_ESP8266
|
||||
-DUSE_ESP8266_FRAMEWORK_ARDUINO
|
||||
extra_scripts = post:esphome/components/esp8266/post_build.py.script
|
||||
|
Loading…
Reference in New Issue
Block a user