mirror of https://github.com/arendst/Tasmota.git
Fix compilation issue
This commit is contained in:
parent
3a1155f2b6
commit
c65a3dfba7
|
@ -204,4 +204,4 @@ private:
|
|||
int8_t _udp_index; // current index in the ring buffer
|
||||
};
|
||||
|
||||
#endif //UDPCONTEXTLIGHT_H
|
||||
#endif //UDPMULTICASTLISTENER_H
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue