diff --git a/src/main.cpp b/src/main.cpp index 4719f50..e48a60f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -227,8 +227,11 @@ void onEvent(ev_t ev) { } // Schedule next transmission os_setTimedCallback(&sendjob, os_getTime() + sec2osticks(TX_INTERVAL), do_send); - + + Serial.println(F("vor sleep")); + Serial.flush(); LowPower.sleep(1000); + Serial.println(F("wieder aufgewacht")); // => er wacht nicht wieder auf break; case EV_LOST_TSYNC: