[SSTV] Added delay to halting while loops
This commit is contained in:
parent
abbbda671b
commit
e942ac5ffc
2 changed files with 8 additions and 8 deletions
|
@ -96,7 +96,7 @@ void setup() {
|
||||||
} else {
|
} else {
|
||||||
Serial.print(F("failed, code "));
|
Serial.print(F("failed, code "));
|
||||||
Serial.println(state);
|
Serial.println(state);
|
||||||
while (true);
|
while (true) { delay(10); }
|
||||||
}
|
}
|
||||||
|
|
||||||
// when using one of the non-LoRa modules for SSTV
|
// when using one of the non-LoRa modules for SSTV
|
||||||
|
@ -113,7 +113,7 @@ void setup() {
|
||||||
} else {
|
} else {
|
||||||
Serial.print(F("failed, code "));
|
Serial.print(F("failed, code "));
|
||||||
Serial.println(state);
|
Serial.println(state);
|
||||||
while(true);
|
while (true) { delay(10); }
|
||||||
}
|
}
|
||||||
|
|
||||||
// set correction factor
|
// set correction factor
|
||||||
|
@ -132,7 +132,7 @@ void setup() {
|
||||||
} else {
|
} else {
|
||||||
Serial.print(F("failed, code "));
|
Serial.print(F("failed, code "));
|
||||||
Serial.println(state);
|
Serial.println(state);
|
||||||
while(true);
|
while (true) { delay(10); }
|
||||||
}
|
}
|
||||||
|
|
||||||
// to help tune the receiver, SSTVClient can send
|
// to help tune the receiver, SSTVClient can send
|
||||||
|
@ -141,7 +141,7 @@ void setup() {
|
||||||
// (SSTV header "leader tone")
|
// (SSTV header "leader tone")
|
||||||
/*
|
/*
|
||||||
sstv.idle();
|
sstv.idle();
|
||||||
while(true);
|
while (true) { delay(10); }
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ void setup() {
|
||||||
} else {
|
} else {
|
||||||
Serial.print(F("failed, code "));
|
Serial.print(F("failed, code "));
|
||||||
Serial.println(state);
|
Serial.println(state);
|
||||||
while (true);
|
while (true) { delay(10); }
|
||||||
}
|
}
|
||||||
|
|
||||||
// when using one of the non-LoRa modules for SSTV
|
// when using one of the non-LoRa modules for SSTV
|
||||||
|
@ -119,7 +119,7 @@ void setup() {
|
||||||
} else {
|
} else {
|
||||||
Serial.print(F("failed, code "));
|
Serial.print(F("failed, code "));
|
||||||
Serial.println(state);
|
Serial.println(state);
|
||||||
while(true);
|
while (true) { delay(10); }
|
||||||
}
|
}
|
||||||
|
|
||||||
// set correction factor
|
// set correction factor
|
||||||
|
@ -138,14 +138,14 @@ void setup() {
|
||||||
} else {
|
} else {
|
||||||
Serial.print(F("failed, code "));
|
Serial.print(F("failed, code "));
|
||||||
Serial.println(state);
|
Serial.println(state);
|
||||||
while(true);
|
while (true) { delay(10); }
|
||||||
}
|
}
|
||||||
|
|
||||||
// to help tune the receiver, SSTVClient can send
|
// to help tune the receiver, SSTVClient can send
|
||||||
// continuous 1900 Hz beep
|
// continuous 1900 Hz beep
|
||||||
/*
|
/*
|
||||||
sstv.idle();
|
sstv.idle();
|
||||||
while(true);
|
while (true) { delay(10); }
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue