From c8254f9ec8fe692566f9062e71661fde2d8571b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Sat, 26 Mar 2022 11:05:36 +0100 Subject: [PATCH] SerialDebug NRF On slow systems, it takes up to 5 seconds to init serial --- src/SerialConsole.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SerialConsole.cpp b/src/SerialConsole.cpp index 1ec1d5acf..7aa19dba4 100644 --- a/src/SerialConsole.cpp +++ b/src/SerialConsole.cpp @@ -31,7 +31,7 @@ SerialConsole::SerialConsole() : StreamAPI(&Port), RedirectablePrint(&Port) #ifdef NRF52_SERIES time_t timeout = millis(); while (!Port) { - if ((millis() - timeout) < 2000) { + if ((millis() - timeout) < 5000) { delay(100); } else { break;