Make mDNS on rp2040 work (#3936)

This commit is contained in:
Jesse Hills
2022-10-25 16:23:20 +13:00
committed by GitHub
parent f8ce597918
commit 702b60ce66
3 changed files with 26 additions and 20 deletions
+2
View File
@@ -36,6 +36,8 @@ async def to_code(config):
cg.add_library("ESPmDNS", None)
elif CORE.is_esp8266:
cg.add_library("ESP8266mDNS", None)
elif CORE.is_rp2040:
cg.add_library("LEAmDNS", None)
if config[CONF_DISABLED]:
return