mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-26 07:47:15 +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
|
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) {
|
if (udp_connected) {
|
||||||
// flush any outgoing packet
|
// flush any outgoing packet
|
||||||
PortUdp.flush();
|
PortUdp.flush();
|
||||||
|
UdpCtx.disconnect();
|
||||||
#ifdef USE_DEVICE_GROUPS
|
#ifdef USE_DEVICE_GROUPS
|
||||||
// stop
|
// stop
|
||||||
UdpCtx.stop();
|
|
||||||
PortUdp.stop();
|
PortUdp.stop();
|
||||||
#else // USE_DEVICE_GROUPS
|
#else // USE_DEVICE_GROUPS
|
||||||
// stop all
|
// stop all
|
||||||
|
Loading…
x
Reference in New Issue
Block a user