mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
pkg/semtech-loramac: Reduce timeout in timer
This commit is contained in:
parent
917548f37c
commit
0aa12b9f77
@ -62,9 +62,10 @@ void TimerSetValue(TimerEvent_t *obj, uint32_t value)
|
||||
|
||||
/* According to the lorawan specifications, the data sent from the gateway
|
||||
could arrive with a short shift in time of +/- 20ms. Here the timeout is
|
||||
triggered 22ms in advance to make sure the radio switches to RX mode on
|
||||
time and doesn't miss any downlink messages. */
|
||||
obj->timeout = (value - 22) * US_PER_MS;
|
||||
triggered 50ms in advance to make sure the radio switches to RX mode on
|
||||
time and doesn't miss any downlink messages, taking in consideration
|
||||
possible xtimer inaccuracies. */
|
||||
obj->timeout = (value - 50) * US_PER_MS;
|
||||
}
|
||||
|
||||
TimerTime_t TimerGetCurrentTime(void)
|
||||
|
Loading…
Reference in New Issue
Block a user