aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-28 18:10:58 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-28 18:10:58 +0000
commit46abfd539f96a3aff27b6b38bf9e24b92c0d3917 (patch)
tree64e6d4ade59f391def9beb46b2c3654aed749174 /os/hal/ports/STM32/LLD
parentaa6af756b0f8e8ab1bb5e2fefd27fe34157acffc (diff)
downloadChibiOS-46abfd539f96a3aff27b6b38bf9e24b92c0d3917.tar.gz
ChibiOS-46abfd539f96a3aff27b6b38bf9e24b92c0d3917.tar.bz2
ChibiOS-46abfd539f96a3aff27b6b38bf9e24b92c0d3917.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7826 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD')
-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);
}