From d34b164537d2f3accf423e92e4d150533aa48d09 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Fri, 9 Oct 2020 22:44:52 +0200 Subject: [PATCH] fix issue #655 --- src/lorawan.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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 }