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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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