1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-11 07:42:26 +01:00

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

View File

@@ -288,8 +288,10 @@ def gather_lib_deps():
if CORE.arduino_version in (ARDUINO_VERSION_ESP32_DEV, ARDUINO_VERSION_ESP32_1_0_1):
lib_deps.add('AsyncTCP@1.0.3')
lib_deps.discard('AsyncTCP@1.0.1')
lib_deps.add('ESPmDNS')
elif CORE.is_esp8266:
lib_deps.add('ESPAsyncTCP@1.1.3')
lib_deps.add('ESP8266mDNS')
# avoid changing build flags order
lib_deps_l = list(lib_deps)
lib_deps_l.sort()
@@ -393,7 +395,6 @@ def get_ini_content():
data['lib_ldf_mode'] = 'chain'
REMOVABLE_LIBRARIES = [
'ArduinoOTA',
'ESPmDNS',
'Update',
'Wire',
'FastLED',