aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32')
-rw-r--r--os/hal/ports/STM32/LLD/RTCv1/rtc_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/RTCv1/rtc_lld.c b/os/hal/ports/STM32/LLD/RTCv1/rtc_lld.c
index 109c45b98..afc50ba6d 100644
--- a/os/hal/ports/STM32/LLD/RTCv1/rtc_lld.c
+++ b/os/hal/ports/STM32/LLD/RTCv1/rtc_lld.c
@@ -112,7 +112,7 @@ static void rtc_release_access(void) {
static time_t rtc_encode(const RTCDateTime *timespec) {
struct tm tim;
- rtcConvertDateTimeToStructTm(timespec, &tim);
+ rtcConvertDateTimeToStructTm(timespec, &tim, NULL);
return mktime(&tim);
}