Skip to content
Snippets Groups Projects
Commit 774abe4e authored by Joakim Nohlgård's avatar Joakim Nohlgård
Browse files

periph_common: hwrng_init in periph_init if enabled

parent 36ebe561
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,9 @@
#ifdef MODULE_PERIPH_RTC
#include "periph/rtc.h"
#endif
#ifdef MODULE_PERIPH_HWRNG
#include "periph/hwrng.h"
#endif
void periph_init(void)
{
......@@ -40,4 +43,8 @@ void periph_init(void)
#ifdef MODULE_PERIPH_RTC
rtc_init();
#endif
#ifdef MODULE_PERIPH_HWRNG
hwrng_init();
#endif
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment