[Pager] Added delay to halting while loops

pull/1144/head
jgromes 2024-06-29 18:32:05 +02:00
rodzic d3a81e4fa4
commit 1178f5e718
2 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -65,7 +65,7 @@ void setup() {
} else {
Serial.print(F("failed, code "));
Serial.println(state);
while (true);
while (true) { delay(10); }
}
// initialize Pager client
@ -78,7 +78,7 @@ void setup() {
} else {
Serial.print(F("failed, code "));
Serial.println(state);
while (true);
while (true) { delay(10); }
}
// start receiving POCSAG messages
@ -90,7 +90,7 @@ void setup() {
} else {
Serial.print(F("failed, code "));
Serial.println(state);
while (true);
while (true) { delay(10); }
}
}

Wyświetl plik

@ -54,7 +54,7 @@ void setup() {
} else {
Serial.print(F("failed, code "));
Serial.println(state);
while(true);
while (true) { delay(10); }
}
// initialize Pager client
@ -67,7 +67,7 @@ void setup() {
} else {
Serial.print(F("failed, code "));
Serial.println(state);
while(true);
while (true) { delay(10); }
}
}