From 49973d14cab6b71c7a497e45a0a30582554c93bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Mon, 26 Feb 2018 21:18:53 +0100 Subject: [PATCH] Adding a 1ms delay after UDP send to avoid loosing packets (#438) --- code/espurna/debug.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/code/espurna/debug.ino b/code/espurna/debug.ino index e98bcc18..c9daf3de 100644 --- a/code/espurna/debug.ino +++ b/code/espurna/debug.ino @@ -47,6 +47,7 @@ void _debugSend(char * message) { #endif _udp_debug.write(message); _udp_debug.endPacket(); + delay(1); // https://github.com/xoseperez/espurna/issues/438 #if SYSTEM_CHECK_ENABLED } #endif