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
|
// rcommand received -> call interpreter
|
||||||
case RCMDPORT:
|
case RCMDPORT:
|
||||||
rcommand(pMsg, nMsg);
|
rcommand(pMsg, nMsg);
|
||||||
|
break;
|
||||||
|
|
||||||
// timeserver answer -> call timesync processor
|
// timeserver answer -> call timesync processor
|
||||||
#if (TIME_SYNC_LORASERVER)
|
#if (TIME_SYNC_LORASERVER)
|
||||||
case TIMEPORT:
|
case TIMEPORT:
|
||||||
// get and store gwtime from payload
|
// get and store gwtime from payload
|
||||||
timesync_serverAnswer(const_cast<uint8_t *>(pMsg), nMsg);
|
timesync_serverAnswer(const_cast<uint8_t *>(pMsg), nMsg);
|
||||||
|
break;
|
||||||
#endif
|
#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
|
} // switch
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user