fix issue #655
This commit is contained in:
parent
2375d4943e
commit
d34b164537
@ -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<uint8_t *>(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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user