mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 15:46:14 +01:00
Bugfix Ethernet shield: Static IP now possible
This commit is contained in:
parent
f94a5f971e
commit
45cf610028
|
@ -136,7 +136,7 @@ bool EthernetInterface::checkLink() {
|
||||||
DIAG(F("Ethernet cable connected"));
|
DIAG(F("Ethernet cable connected"));
|
||||||
connected=true;
|
connected=true;
|
||||||
#ifdef IP_ADDRESS
|
#ifdef IP_ADDRESS
|
||||||
setLocalIP(IP_ADDRESS); // for static IP, set it again
|
Ethernet.setLocalIP(IP_ADDRESS); // for static IP, set it again
|
||||||
#endif
|
#endif
|
||||||
IPAddress ip = Ethernet.localIP(); // look what IP was obtained (dynamic or static)
|
IPAddress ip = Ethernet.localIP(); // look what IP was obtained (dynamic or static)
|
||||||
server = new EthernetServer(IP_PORT); // Ethernet Server listening on default port IP_PORT
|
server = new EthernetServer(IP_PORT); // Ethernet Server listening on default port IP_PORT
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
#define GITHUB_SHA "devel-202303071416Z"
|
#define GITHUB_SHA "devel-202303101548Z"
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
#include "StringFormatter.h"
|
#include "StringFormatter.h"
|
||||||
|
|
||||||
|
|
||||||
#define VERSION "4.2.23"
|
#define VERSION "4.2.24"
|
||||||
|
// 4.3.24 - Bugfix Ethernet shield: Static IP now possible
|
||||||
// 4.2.23 - Bugfix signalpin2 was not set up in shadow port
|
// 4.2.23 - Bugfix signalpin2 was not set up in shadow port
|
||||||
// 4.2.22 - Implement broadcast of Track Manager changes
|
// 4.2.22 - Implement broadcast of Track Manager changes
|
||||||
// 4.2.21 - Implement non-blocking I2C for EX-IOExpander device driver
|
// 4.2.21 - Implement non-blocking I2C for EX-IOExpander device driver
|
||||||
|
|
Loading…
Reference in New Issue
Block a user