From 45cf610028f9d8fc27ffe4859f148beeb7dd119d Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Fri, 10 Mar 2023 17:49:51 +0100 Subject: [PATCH] Bugfix Ethernet shield: Static IP now possible --- EthernetInterface.cpp | 2 +- GITHUB_SHA.h | 2 +- version.h | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/EthernetInterface.cpp b/EthernetInterface.cpp index 7c5d768..5cf531c 100644 --- a/EthernetInterface.cpp +++ b/EthernetInterface.cpp @@ -136,7 +136,7 @@ bool EthernetInterface::checkLink() { DIAG(F("Ethernet cable connected")); connected=true; #ifdef IP_ADDRESS - setLocalIP(IP_ADDRESS); // for static IP, set it again + Ethernet.setLocalIP(IP_ADDRESS); // for static IP, set it again #endif 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 diff --git a/GITHUB_SHA.h b/GITHUB_SHA.h index 54a7905..db56eac 100644 --- a/GITHUB_SHA.h +++ b/GITHUB_SHA.h @@ -1 +1 @@ -#define GITHUB_SHA "devel-202303071416Z" +#define GITHUB_SHA "devel-202303101548Z" diff --git a/version.h b/version.h index a4520fb..6e2d0ba 100644 --- a/version.h +++ b/version.h @@ -4,7 +4,8 @@ #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.22 - Implement broadcast of Track Manager changes // 4.2.21 - Implement non-blocking I2C for EX-IOExpander device driver