mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 02:02:23 +00:00
adjust for serial wait time during nRF52 bootup
This commit is contained in:
@@ -854,8 +854,9 @@ int32_t Screen::runOnce()
|
||||
}
|
||||
|
||||
// Show boot screen for first 3 seconds, then switch to normal operation.
|
||||
// serialSinceMsec adjusts for additional serial wait time during nRF52 bootup
|
||||
static bool showingBootScreen = true;
|
||||
if (showingBootScreen && (millis() > 5000)) {
|
||||
if (showingBootScreen && (millis() > (5000 + serialSinceMsec))) {
|
||||
DEBUG_MSG("Done with boot screen...\n");
|
||||
stopBootScreen();
|
||||
showingBootScreen = false;
|
||||
|
||||
Reference in New Issue
Block a user