We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fca0e7 commit de660a8Copy full SHA for de660a8
wled00/network.cpp
@@ -216,7 +216,7 @@ const String ARDUINO_EVENT_LIST[41] = {
216
//handle Ethernet connection event
217
void WiFiEvent(WiFiEvent_t event) {
218
219
- #if defined(ESP32) && ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 0, 0)
+ #if ESP32 && ESP_IDF_VERSION_MAJOR >= 4
220
221
DEBUG_PRINT(F("Network Event: "));
222
DEBUG_PRINT(ARDUINO_EVENT_LIST[event]);
0 commit comments