Fix mDNS library added only with OTA (#451)

This commit is contained in:
Otto Winter
2019-02-26 18:34:47 +01:00
committed by GitHub
parent c2a0c22bd9
commit 808ee19180
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ REQUIRED_BUILD_FLAGS = '-DUSE_NEW_OTA'
def lib_deps(config):
if CORE.is_esp32:
return ['Update', 'ESPmDNS']
return ['Update']
if CORE.is_esp8266:
return ['Hash', 'ESP8266mDNS']
return ['Hash']
raise NotImplementedError