[riot-notifications] [RIOT-OS/RIOT] doc: XTIMER_BACKOFF inconsistency (#11522)

Semjon Kerner notifications at github.com
Fri May 17 13:37:16 CEST 2019


I guess the straight forward approach is the best here. I'd suggest casting `XTIMER_BACKOFF` in those cases where it gets compared to ticks with [xtimer_ticks_from_usec](http://doc.riot-os.org/group__sys__xtimer.html#gae457bf7ed1f4ec0f4f6767a35a4fd181).

>From tracing with grep, I guess these are only following two lines:
https://github.com/RIOT-OS/RIOT/blob/568a3514557fe301aaf8b2413b76c701dac98492/sys/xtimer/xtimer_core.c#L147
https://github.com/RIOT-OS/RIOT/blob/568a3514557fe301aaf8b2413b76c701dac98492/sys/xtimer/xtimer_core.c#L201

Also I realized there are varying redefinitions of `XTIMER_BACKOFF` for different boards. Assuming the developers who set this values stuck to the documentation, all those values are supposed to be microseconds, not ticks and hence should be used accordingly, instead of bloating the documentation.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/11522#issuecomment-493422681
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190517/a30fa6cc/attachment.html>


More information about the notifications mailing list