mirror of
https://github.com/meshtastic/firmware.git
synced 2025-07-31 02:45:41 +00:00
fix rp2040 too
This commit is contained in:
parent
56dd51db13
commit
6a572e301e
@ -68,9 +68,11 @@ static int32_t reconnectETH()
|
|||||||
initApiServer();
|
initApiServer();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#if HAS_UDP_MULTICAST
|
||||||
if (udpHandler && config.network.enabled_protocols & meshtastic_Config_NetworkConfig_ProtocolFlags_UDP_BROADCAST) {
|
if (udpHandler && config.network.enabled_protocols & meshtastic_Config_NetworkConfig_ProtocolFlags_UDP_BROADCAST) {
|
||||||
udpHandler->start();
|
udpHandler->start();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
ethStartupComplete = true;
|
ethStartupComplete = true;
|
||||||
}
|
}
|
||||||
|
@ -70,4 +70,4 @@ int32_t AsyncUDP::runOnce()
|
|||||||
return 5; // check every 5ms
|
return 5; // check every 5ms
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif // HAS_ETHERNET
|
@ -58,6 +58,6 @@ inline bool isMulticast(const IPAddress &ip)
|
|||||||
return (ip[0] & 0xF0) == 0xE0;
|
return (ip[0] & 0xF0) == 0xE0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif // HAS_ETHERNET
|
||||||
|
|
||||||
#endif // ASYNC_UDP_H
|
#endif // ASYNC_UDP_H
|
||||||
|
Loading…
Reference in New Issue
Block a user