mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-02 18:59:56 +00:00
SerialDebug NRF
On slow systems, it takes up to 5 seconds to init serial
This commit is contained in:
parent
62337aa4b6
commit
c8254f9ec8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user