fix UDP builds on nRF (#7394)

* fix UDP builds on nRF
* fix rp2040 too
This commit is contained in:
Thomas Göttgens
2025-07-20 23:13:50 +02:00
committed by GitHub
parent 73347c2542
commit b851b15a73
3 changed files with 12 additions and 0 deletions

View File

@@ -68,9 +68,11 @@ static int32_t reconnectETH()
initApiServer();
}
#endif
#if HAS_UDP_MULTICAST
if (udpHandler && config.network.enabled_protocols & meshtastic_Config_NetworkConfig_ProtocolFlags_UDP_BROADCAST) {
udpHandler->start();
}
#endif
ethStartupComplete = true;
}