aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/hal.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/src/hal.c')
-rw-r--r--os/hal/src/hal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/os/hal/src/hal.c b/os/hal/src/hal.c
index ef7d7af8b..3c8fb2fe6 100644
--- a/os/hal/src/hal.c
+++ b/os/hal/src/hal.c
@@ -107,6 +107,9 @@ void halInit(void) {
#if HAL_USE_SERIAL_USB || defined(__DOXYGEN__)
sduInit();
#endif
+#if HAL_USE_RTC || defined(__DOXYGEN__)
+ rtcInit();
+#endif
/* Board specific initialization.*/
boardInit();
}