From 509a895ee9b10377a204d0bf6f11483ba6868a4c Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Sun, 30 Aug 2026 21:32:01 +0300 Subject: [PATCH] Always disable blocking in the console output On USB connection, Serial.print may block the main loop if the USB is connected but isn't read, breaking the firmware logic. --- flix/console.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flix/console.ino b/flix/console.ino index 026a35d..1008cc7 100644 --- a/flix/console.ino +++ b/flix/console.ino @@ -73,6 +73,9 @@ HWCDC HWCDCSerial; void setupConsole() { Serial.begin(115200); +#if SOC_USB_SERIAL_JTAG_SUPPORTED + Serial.setTxTimeoutMs(0); // never block on usb write +#endif } void print(const char* format, ...) {