aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/rtc_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/templates/rtc_lld.c')
-rw-r--r--os/hal/templates/rtc_lld.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/templates/rtc_lld.c b/os/hal/templates/rtc_lld.c
index 11ca5d4e4..b63684699 100644
--- a/os/hal/templates/rtc_lld.c
+++ b/os/hal/templates/rtc_lld.c
@@ -66,6 +66,8 @@ RTCDriver RTCD1;
*/
void rtc_lld_init(void) {
+ /* RTC object initialization.*/
+ rtcObjectInit(&RTCD1);
}
/**