[riot-notifications] [RIOT-OS/RIOT] test/xtimer_hang: use xtimer_periodic_wakeup (#10396)

Josar notifications at github.com
Thu Nov 15 12:16:45 CET 2018


When sleeping in the main function with xtimer_sleep not every percentage
will be printed as the sleep duration and the processing time added do not result in full percentage values.

Using xtimer_periodic_wakeup ensures that every integer percentage is printed.

This requires xtimer_periodic_wakeup to work properly. see https://github.com/RIOT-OS/RIOT/pull/10393
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/10396

-- Commit Summary --

  * test/xtimer_hang: use xtimer_periodic_wakeup

-- File Changes --

    M tests/xtimer_hang/main.c (5)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/10396.patch
https://github.com/RIOT-OS/RIOT/pull/10396.diff

-- 
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/pull/10396
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20181115/da08b680/attachment.html>


More information about the notifications mailing list