mirror of https://github.com/arendst/Tasmota.git
Fix ArtNet compilation on ESP32
This commit is contained in:
parent
d8d191b1c7
commit
b92d5ab12c
|
@ -223,9 +223,9 @@ void ArtNetLoop(void)
|
|||
packet_len = ArtNetUdp->parsePacket();
|
||||
packet_ready = (packet_len > 0);
|
||||
while (packet_ready) {
|
||||
uint8_t packet_buffer[UDP_BUFFER_SIZE]; // buffer to hold incoming UDP/SSDP packet
|
||||
uint8_t packet_buffer[WS2812_ARTNET_UDP_BUFFER_SIZE]; // buffer to hold incoming UDP/SSDP packet
|
||||
|
||||
packet_len = ArtNetUdp->read(packet_buffer, UDP_BUFFER_SIZE);
|
||||
packet_len = ArtNetUdp->read(packet_buffer, WS2812_ARTNET_UDP_BUFFER_SIZE);
|
||||
ArtNetUdp->flush(); // Finish reading the current packet
|
||||
#endif
|
||||
// AddLog(LOG_LEVEL_DEBUG_MORE, PSTR("UDP: Packet %*_H (%d)"), 32, packet_buffer, packet_len);
|
||||
|
|
Loading…
Reference in New Issue