don't poll for completion so quickly - the log messages scare people

1.2-legacy
geeksville 2020-04-18 08:39:05 -07:00
rodzic 184eac6281
commit 4ce7df295e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -135,7 +135,7 @@ static void waitEnterSleep()
uint32_t now = millis();
while (!doPreflightSleep()) {
delay(10); // Kinda yucky - wait until radio says say we can shutdown (finished in process sends/receives)
delay(100); // Kinda yucky - wait until radio says say we can shutdown (finished in process sends/receives)
if (millis() - now > 30 * 1000) { // If we wait too long just report an error and go to sleep
recordCriticalError(ErrSleepEnterWait);