1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00

board/native: add periph_hwrng and init

This commit is contained in:
smlng 2018-01-27 08:42:31 +01:00
parent c13426f688
commit d94edad1bd

View File

@ -16,6 +16,7 @@
#include <stdio.h>
#include "board.h"
#include "periph/rtc.h"
#include "periph/hwrng.h"
#include "board_internal.h"
@ -33,6 +34,9 @@ void board_init(void)
LED1_ON;
#ifdef MODULE_PERIPH_RTC
rtc_init();
#endif
#ifdef MODULE_PERIPH_HWRNG
hwrng_init();
#endif
puts("RIOT native board initialized.");
}