[riot-notifications] [RIOT-OS/RIOT] tests/xtimer_usleep: recognize negative offset (#11493)

Gaƫtan Harter notifications at github.com
Tue May 7 12:43:16 CEST 2019

cladmi requested changes on this pull request.

The issue is is not the test, the test is correct.
When we say `sleep 10us` it should sleep at least `10s`.

There is an issue in `sys/include/xtimer/tick_conversion.h` where for some configuration if you say, give me the number of ticks for `1s` it returns less than enough ticks for `1s` so sleeps `0.9something` which is wrong.

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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190507/208a6c18/attachment.html>

More information about the notifications mailing list