We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4e17cb commit 85a6992Copy full SHA for 85a6992
wled00/wled.h
@@ -361,7 +361,7 @@ WLED_GLOBAL int8_t irPin _INIT(IRPIN);
361
362
//WLED_GLOBAL byte presetToApply _INIT(0);
363
#ifndef ESP8266
364
- #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 5)
+ #if defined(CONFIG_ETH_SPI_ETHERNET_W5500) && ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 5)
365
WLED_GLOBAL ETHClass2 ETH;
366
#endif
367
0 commit comments