do not go to deep sleep if we do a stop_iterations
This commit is contained in:
parent
9cc59aadbb
commit
875b1fef02
|
|
@ -771,7 +771,7 @@ void StartNewIteration() {
|
||||||
gCatena.SafePrintf("LMIC.seqnoUp: %d, LMIC.seqnoDn: %d\n",LMIC.seqnoUp, LMIC.seqnoDn);
|
gCatena.SafePrintf("LMIC.seqnoUp: %d, LMIC.seqnoDn: %d\n",LMIC.seqnoUp, LMIC.seqnoDn);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!fUsbPower) {
|
if (!fUsbPower && !stop_iterations) {
|
||||||
DoDeepSleep(sleep_time_sec);
|
DoDeepSleep(sleep_time_sec);
|
||||||
if (! stop_iterations) {
|
if (! stop_iterations) {
|
||||||
start_new_iteration = true;
|
start_new_iteration = true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue