Fix compilation issue

This commit is contained in:
Stephan Hadinger 2020-05-27 20:48:40 +02:00
parent 3a1155f2b6
commit c65a3dfba7
2 changed files with 2 additions and 2 deletions

View File

@ -204,4 +204,4 @@ private:
int8_t _udp_index; // current index in the ring buffer
};
#endif //UDPCONTEXTLIGHT_H
#endif //UDPMULTICASTLISTENER_H

View File

@ -58,9 +58,9 @@ bool UdpDisconnect(void)
if (udp_connected) {
// flush any outgoing packet
PortUdp.flush();
UdpCtx.disconnect();
#ifdef USE_DEVICE_GROUPS
// stop
UdpCtx.stop();
PortUdp.stop();
#else // USE_DEVICE_GROUPS
// stop all