Skip to content

Commit

Permalink
Bugfix for ESP32-NodeMCU
Browse files Browse the repository at this point in the history
  • Loading branch information
fredlcore committed Jun 17, 2024
1 parent d5ddd0d commit 2fb6482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BSB_LAN/BSB_LAN.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2fb6482

Please sign in to comment.