1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-24 08:36:14 +01:00

Compare commits

...

2 Commits

Author SHA1 Message Date
George
b9c4dc2227
Merge 62a204b65c into 8b8e9e4919 2023-10-20 23:47:11 +08:00
George
62a204b65c
setting of eth cs
Does my "[Feature Request]: setting of eth cs #308".
Tested on Arduino mega2560 with W5500 connected by wires - CS to 53.
2023-03-10 11:53:40 +01:00

View File

@ -104,6 +104,9 @@ void setup()
#endif // ARDUINO_ARCH_ESP32 #endif // ARDUINO_ARCH_ESP32
#if ETHERNET_ON #if ETHERNET_ON
#ifdef ETHERNET_CS
Ethernet.init (ETHERNET_CS);
#endif // ETHERNET_CS
EthernetInterface::setup(); EthernetInterface::setup();
#endif // ETHERNET_ON #endif // ETHERNET_ON