From 05c45f7ad735b290c98c3d00d5e48eb82c366a65 Mon Sep 17 00:00:00 2001 From: Johannes Morgenroth Date: Sat, 16 May 2020 18:05:23 +0200 Subject: [PATCH] Remove flush() call after read of KNX packets The flush() call after read() causes empty packets being sent as response for all UDP packets received on that port. --- lib/esp-knx-ip-0.5.2/esp-knx-ip.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/esp-knx-ip-0.5.2/esp-knx-ip.cpp b/lib/esp-knx-ip-0.5.2/esp-knx-ip.cpp index 5917e62f3..96f4e1c73 100644 --- a/lib/esp-knx-ip-0.5.2/esp-knx-ip.cpp +++ b/lib/esp-knx-ip-0.5.2/esp-knx-ip.cpp @@ -536,7 +536,6 @@ void ESPKNXIP::__loop_knx() uint8_t buf[read]; udp.read(buf, read); - udp.flush(); DEBUG_PRINT(F("Got packet:"));