print LMIC.opmode before sleep
This commit is contained in:
parent
ab86c843b1
commit
f8909fc353
|
|
@ -753,6 +753,9 @@ void StartNewIteration() {
|
||||||
NVIC_SystemReset();
|
NVIC_SystemReset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (config_data.debug_level > 0) {
|
||||||
|
gCatena.SafePrintf("LMIC.opmode just before Sleeping: %#x\n", LMIC.opmode);
|
||||||
|
}
|
||||||
|
|
||||||
if (!fUsbPower) {
|
if (!fUsbPower) {
|
||||||
DoDeepSleep(sleep_time_sec);
|
DoDeepSleep(sleep_time_sec);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue