print LMIC.opmode before sleep

This commit is contained in:
Joerg Lehmann 2020-06-01 19:31:36 +02:00
parent ab86c843b1
commit f8909fc353
1 changed files with 3 additions and 0 deletions

View File

@ -753,6 +753,9 @@ void StartNewIteration() {
NVIC_SystemReset();
}
if (config_data.debug_level > 0) {
gCatena.SafePrintf("LMIC.opmode just before Sleeping: %#x\n", LMIC.opmode);
}
if (!fUsbPower) {
DoDeepSleep(sleep_time_sec);