typo
This commit is contained in:
parent
4d42c961b2
commit
1e53a25d03
@ -265,7 +265,7 @@ void onEvent(ev_t ev) {
|
|||||||
|
|
||||||
#if (TIME_SYNC_LORASERVER)
|
#if (TIME_SYNC_LORASERVER)
|
||||||
// timesync answer -> call timesync processor
|
// timesync answer -> call timesync processor
|
||||||
if ((LMIC.frame[LMIC.dataBeg] == TIMEPORT) {
|
if (LMIC.frame[LMIC.dataBeg - 1] == TIMEPORT) {
|
||||||
recv_timesync_ans(LMIC.frame + LMIC.dataBeg, LMIC.dataLen);
|
recv_timesync_ans(LMIC.frame + LMIC.dataBeg, LMIC.dataLen);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user