mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +00:00
Fix esp32 no longer has Hash internal lib (#2441)
This commit is contained in:
@@ -342,6 +342,8 @@ async def to_code(config):
|
||||
|
||||
if CORE.is_esp8266:
|
||||
cg.add_library("ESP8266WiFi", None)
|
||||
elif CORE.is_esp32 and CORE.using_arduino:
|
||||
cg.add_library("WiFi", None)
|
||||
|
||||
cg.add_define("USE_WIFI")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user