Skip to content

Commit 5fca0e7

Browse files
committed
Build fixes
1 parent 8ed918d commit 5fca0e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wled00/network.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ const String ARDUINO_EVENT_LIST[41] = {
216216
//handle Ethernet connection event
217217
void WiFiEvent(WiFiEvent_t event) {
218218

219-
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 0, 0) && defined(ESP32)
219+
#if defined(ESP32) && ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 0, 0)
220220

221221
DEBUG_PRINT(F("Network Event: "));
222222
DEBUG_PRINT(ARDUINO_EVENT_LIST[event]);

0 commit comments

Comments
 (0)