diff --git a/src/lorawan.cpp b/src/lorawan.cpp index 5b673074..34cc4a0b 100644 --- a/src/lorawan.cpp +++ b/src/lorawan.cpp @@ -527,22 +527,16 @@ void myRxCallback(void *pUserData, uint8_t port, const uint8_t *pMsg, // rcommand received -> call interpreter case RCMDPORT: rcommand(pMsg, nMsg); + break; // timeserver answer -> call timesync processor #if (TIME_SYNC_LORASERVER) case TIMEPORT: // get and store gwtime from payload timesync_serverAnswer(const_cast(pMsg), nMsg); + break; #endif - // decode any piggybacked downlink MAC commands if we want to print those - default: -#if (VERBOSE) - if (LMIC.dataBeg > 1) - mac_decode(LMIC.frame, LMIC.dataBeg - 1, true); -#endif // VERBOSE - - break; } // switch }