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

Fix imports for rp2040 with no wifi (#3956)

This commit is contained in:
Jesse Hills
2022-10-28 08:12:12 +13:00
committed by GitHub
parent f8640cf2cd
commit e61a01f7bb

View File

@@ -21,9 +21,12 @@
#include "esp_system.h"
#include <freertos/FreeRTOS.h>
#include <freertos/portmacro.h>
#elif defined(USE_RP2040) && defined(USE_WIFI)
#elif defined(USE_RP2040)
#if defined(USE_WIFI)
#include <WiFi.h>
#endif
#include <hardware/structs/rosc.h>
#include <hardware/sync.h>
#endif
#ifdef USE_ESP32_IGNORE_EFUSE_MAC_CRC