[riot-notifications] [RIOT-OS/RIOT] doc: XTIMER_BACKOFF inconsistency (#11522)
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:
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications