typo
This commit is contained in:
1 parent
4d42c961b2
commit
1e53a25d03
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user