Browse Source

Adding a 1ms delay after UDP send to avoid loosing packets (#438)

rfm69
Xose Pérez 6 years ago
parent
commit
49973d14ca
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      code/espurna/debug.ino

+ 1
- 0
code/espurna/debug.ino View File

@ -47,6 +47,7 @@ void _debugSend(char * message) {
#endif #endif
_udp_debug.write(message); _udp_debug.write(message);
_udp_debug.endPacket(); _udp_debug.endPacket();
delay(1); // https://github.com/xoseperez/espurna/issues/438
#if SYSTEM_CHECK_ENABLED #if SYSTEM_CHECK_ENABLED
} }
#endif #endif


Loading…
Cancel
Save