You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: usermods/audioreactive/audio_reactive.cpp
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1300,7 +1300,12 @@ class AudioReactive : public Usermod {
1300
1300
1301
1301
size_t packetSize = fftUdp.parsePacket();
1302
1302
#ifdef ARDUINO_ARCH_ESP32
1303
-
if ((packetSize > 0) && ((packetSize < 5) || (packetSize > UDPSOUND_MAX_PACKET))) fftUdp.flush(); // discard invalid packets (too small or too big) - only works on esp32
0 commit comments