Skip to content
Snippets Groups Projects
Commit 632bccb6 authored by Vincent Dupont's avatar Vincent Dupont
Browse files

boards/native: call rtc_init from board_init

parent ebaa60a7
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include "board.h" #include "board.h"
#include "periph/rtc.h"
#include "board_internal.h" #include "board_internal.h"
...@@ -30,6 +31,9 @@ void board_init(void) ...@@ -30,6 +31,9 @@ void board_init(void)
{ {
LED0_OFF; LED0_OFF;
LED1_ON; LED1_ON;
#ifdef MODULE_PERIPH_RTC
rtc_init();
#endif
puts("RIOT native board initialized."); puts("RIOT native board initialized.");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment