[riot-notifications] [RIOT-OS/RIOT] sys/auto_init: init ztimer/xtimer before random (#16595)

Francisco notifications at github.com
Tue Jun 29 13:14:38 CEST 2021


### Contribution description

While looking at `fortuna` I realized it makes a call to `xtimer_now64` before the module is initialized, and I started wondering if it did not make more sense to initialize timers before `random`, unless someone is aware of a dependency between in the other direction.

### Testing procedure

- Murdock, run tests on multiple BOARDS to be safe

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * sys/auto_init: init ztimer/xtimer before random

-- File Changes --

    M sys/auto_init/auto_init.c (12)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/16595.patch
https://github.com/RIOT-OS/RIOT/pull/16595.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/16595
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210629/1b71ea5e/attachment-0001.htm>


More information about the notifications mailing list