Skip to content
Snippets Groups Projects
Unverified Commit 9497a6d8 authored by Alexandre Abadie's avatar Alexandre Abadie Committed by GitHub
Browse files

Merge pull request #10180 from leandrolanzieri/pr/pkg/semtech_timeout

pkg/semtech-loramac: Reduce timeout in timer
parents 6f960f42 0aa12b9f
Branches
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment