mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 23:07:17 +00:00
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…
x
Reference in New Issue
Block a user