From 2fb6482ed734e1640d77cc87967f8a22154b6d69 Mon Sep 17 00:00:00 2001 From: fredlcore Date: Mon, 17 Jun 2024 22:43:56 +0800 Subject: [PATCH] Bugfix for ESP32-NodeMCU --- BSB_LAN/BSB_LAN.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BSB_LAN/BSB_LAN.ino b/BSB_LAN/BSB_LAN.ino index 29a65e49..608c908e 100644 --- a/BSB_LAN/BSB_LAN.ino +++ b/BSB_LAN/BSB_LAN.ino @@ -502,7 +502,7 @@ #endif // For some reason, pins_arduino.h for the Olimex EVB does not contain the configuration for the LAN interface (while Olimex POE and POE-ISO do have it), so we have to define them here before including ETH.h. -#if defined(ESP32) && BOARD == ESP32_OLIMEX && !defined(ETH_PHY_TYPE) +#if defined(ESP32) && BOARD && !defined(ETH_PHY_TYPE) #define ETH_PHY_TYPE ETH_PHY_LAN8720 #define ETH_PHY_ADDR 0 #define ETH_PHY_MDC 23