mirror of
https://github.com/wled/WLED.git
synced 2026-04-25 08:32:44 +00:00
add include guard for esp_mac.h
This commit is contained in:
@@ -13,10 +13,10 @@
|
||||
#endif
|
||||
#include "mbedtls/sha1.h" // for SHA1 on ESP32
|
||||
#include "esp_efuse.h"
|
||||
#include "esp_chip_info.h"
|
||||
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0)
|
||||
#include <esp_mac.h> // V5 requirement
|
||||
#endif
|
||||
#include "esp_chip_info.h"
|
||||
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0)
|
||||
#include <esp_mac.h> // V5 requirement
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -2,8 +2,12 @@
|
||||
#include "wled.h"
|
||||
#include "wled_ethernet.h"
|
||||
#ifdef ARDUINO_ARCH_ESP32
|
||||
#include "esp_efuse.h"
|
||||
#include "esp_chip_info.h"
|
||||
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0)
|
||||
#include "esp_mac.h"
|
||||
#endif
|
||||
#endif
|
||||
#include "ota_update.h"
|
||||
#ifdef WLED_ENABLE_AOTA
|
||||
#define NO_OTA_PORT
|
||||
|
||||
Reference in New Issue
Block a user