mirror of
https://github.com/esphome/esphome.git
synced 2024-11-29 18:24:13 +01:00
Fix imports for rp2040 with no wifi (#3956)
This commit is contained in:
parent
f8640cf2cd
commit
e61a01f7bb
1 changed files with 4 additions and 1 deletions
|
@ -21,9 +21,12 @@
|
||||||
#include "esp_system.h"
|
#include "esp_system.h"
|
||||||
#include <freertos/FreeRTOS.h>
|
#include <freertos/FreeRTOS.h>
|
||||||
#include <freertos/portmacro.h>
|
#include <freertos/portmacro.h>
|
||||||
#elif defined(USE_RP2040) && defined(USE_WIFI)
|
#elif defined(USE_RP2040)
|
||||||
|
#if defined(USE_WIFI)
|
||||||
#include <WiFi.h>
|
#include <WiFi.h>
|
||||||
|
#endif
|
||||||
#include <hardware/structs/rosc.h>
|
#include <hardware/structs/rosc.h>
|
||||||
|
#include <hardware/sync.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_ESP32_IGNORE_EFUSE_MAC_CRC
|
#ifdef USE_ESP32_IGNORE_EFUSE_MAC_CRC
|
||||||
|
|
Loading…
Reference in a new issue