mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
Revert "Another few victims of core3 UDP"
This reverts commit 27c35befdf1302c7bab37063b67c22db49d54d9c.
This commit is contained in:
parent
adcc50ac6e
commit
7c98e0d303
@ -208,9 +208,6 @@ void DeviceGroupsStart()
|
||||
void DeviceGroupsStop()
|
||||
{
|
||||
device_groups_udp.flush();
|
||||
#ifdef ESP32
|
||||
device_groups_udp.clear(); // New with core3. Does what flush() did in core2;
|
||||
#endif
|
||||
device_groups_up = false;
|
||||
}
|
||||
|
||||
|
@ -245,8 +245,7 @@ void ArtNetLoop(void)
|
||||
uint8_t packet_buffer[WS2812_ARTNET_UDP_BUFFER_SIZE]; // buffer to hold incoming UDP/SSDP packet
|
||||
|
||||
packet_len = ArtNetUdp->read(packet_buffer, WS2812_ARTNET_UDP_BUFFER_SIZE);
|
||||
// ArtNetUdp->flush(); // Finish reading the current packet
|
||||
ArtNetUdp->clear(); // New with core3. Does what flush() did in core2;
|
||||
ArtNetUdp->flush(); // Finish reading the current packet
|
||||
#endif
|
||||
// AddLog(LOG_LEVEL_DEBUG_MORE, PSTR("UDP: Packet %*_H (%d)"), 32, packet_buffer, packet_len);
|
||||
if (artnet_conf.on) {
|
||||
|
@ -1387,9 +1387,6 @@ int32_t udp_call(char *url, uint32_t port, char *sbuf) {
|
||||
udp.write((const uint8_t*)sbuf, strlen(sbuf));
|
||||
udp.endPacket();
|
||||
udp.flush();
|
||||
#ifdef ESP32
|
||||
udp.clear(); // New with core3. Does what flush() did in core2;
|
||||
#endif
|
||||
udp.stop();
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user