1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-26 17:46:14 +01:00

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.
This commit is contained in:
George 2023-03-10 11:53:40 +01:00 committed by GitHub
parent 91d36ae909
commit 62a204b65c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,6 +81,9 @@ void setup()
#endif // WIFI_ON #endif // WIFI_ON
#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