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.
This commit is contained in:
Johannes Morgenroth 2020-05-16 18:05:23 +02:00
parent 53991beb4b
commit 05c45f7ad7
1 changed files with 0 additions and 1 deletions

View File

@ -536,7 +536,6 @@ void ESPKNXIP::__loop_knx()
uint8_t buf[read];
udp.read(buf, read);
udp.flush();
DEBUG_PRINT(F("Got packet:"));