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

Debugging Nucleo Ethernet

This commit is contained in:
pmantoine 2024-04-26 18:14:14 +08:00
parent d9183cfdba
commit 6cd94d9ed2

View File

@ -241,6 +241,8 @@ void EthernetInterface::loop2() {
if (Diag::ETHERNET) DIAG(F("No outboundRing")); if (Diag::ETHERNET) DIAG(F("No outboundRing"));
return; return;
} }
// Make sure mDNS continues to work!
mdns.run();
// get client from the server // get client from the server
#if defined (STM32_ETHERNET) #if defined (STM32_ETHERNET)
// STM32Ethernet doesn't use accept(), just available() // STM32Ethernet doesn't use accept(), just available()
@ -305,7 +307,6 @@ void EthernetInterface::loop2() {
} }
} }
mdns.run();
WiThrottle::loop(outboundRing); WiThrottle::loop(outboundRing);