periph_common: call rtt_init from common init
This commit is contained in:
parent
6840c15db0
commit
bb8c2df413
@ -26,6 +26,9 @@
|
||||
#ifdef MODULE_PERIPH_RTC
|
||||
#include "periph/rtc.h"
|
||||
#endif
|
||||
#ifdef MODULE_PERIPH_RTT
|
||||
#include "periph/rtt.h"
|
||||
#endif
|
||||
#ifdef MODULE_PERIPH_HWRNG
|
||||
#include "periph/hwrng.h"
|
||||
#endif
|
||||
@ -44,6 +47,11 @@ void periph_init(void)
|
||||
rtc_init();
|
||||
#endif
|
||||
|
||||
/* Initialize RTT */
|
||||
#ifdef MODULE_PERIPH_RTT
|
||||
rtt_init();
|
||||
#endif
|
||||
|
||||
#ifdef MODULE_PERIPH_HWRNG
|
||||
hwrng_init();
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user