From 08c8b505922edf1278887f61dd3f0c1d83735fe2 Mon Sep 17 00:00:00 2001 From: Mitch Bradley Date: Thu, 2 Apr 2026 11:32:17 -1000 Subject: [PATCH] Changed "#include EthernetUDP.h" to "#include EthernetUdp.h" ... to match the name of the actual file. Before, it only worked when using a case-insensitive filesystem, and issued a warning depending on the compilation options. In the main Arduino Ethernet library, the file name is EthernetUdp.h I also changed names in comment blocks to reflect that actual names of their files. --- ArduinoCore-Linux/cores/arduino/UDP.cpp | 6 +++--- ArduinoCore-Linux/cores/arduino/UDP.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ArduinoCore-Linux/cores/arduino/UDP.cpp b/ArduinoCore-Linux/cores/arduino/UDP.cpp index c0e9dbb..c65f160 100644 --- a/ArduinoCore-Linux/cores/arduino/UDP.cpp +++ b/ArduinoCore-Linux/cores/arduino/UDP.cpp @@ -1,5 +1,5 @@ /* - EthernetUDP.cpp + UDP.cpp Copyright (c) 2025 Phil Schatzmann. All right reserved. This library is free software; you can redistribute it and/or @@ -16,7 +16,7 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "EthernetUDP.h" +#include "EthernetUdp.h" #include #include #include @@ -292,4 +292,4 @@ void EthernetUDP::log_e(const char *msg, int errorNo) { Logger.error(errorStr); } -} // namespace arduino \ No newline at end of file +} // namespace arduino diff --git a/ArduinoCore-Linux/cores/arduino/UDP.h b/ArduinoCore-Linux/cores/arduino/UDP.h index 0547491..d91953d 100644 --- a/ArduinoCore-Linux/cores/arduino/UDP.h +++ b/ArduinoCore-Linux/cores/arduino/UDP.h @@ -1,5 +1,5 @@ /* - EthernetUDP.h + UDP.h Copyright (c) 2025 Phil Schatzmann. All right reserved. This library is free software; you can redistribute it and/or