mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 08:28:12 +01:00
Dont warn on nonnull comparisons (#3123)
This commit is contained in:
parent
434ca47ea0
commit
1c0697b5d4
2 changed files with 2 additions and 0 deletions
|
@ -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 a new issue