From 4cd975affe635e7e635a76eafd2b0f9b4b747e07 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 28 Mar 2015 09:12:09 +0000 Subject: Improved makefiles on STM32F4xx. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7823 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/STM32F4xx/RTC/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testhal/STM32/STM32F4xx/RTC/main.c') diff --git a/testhal/STM32/STM32F4xx/RTC/main.c b/testhal/STM32/STM32F4xx/RTC/main.c index fff906a19..1c2b60082 100644 --- a/testhal/STM32/STM32F4xx/RTC/main.c +++ b/testhal/STM32/STM32F4xx/RTC/main.c @@ -144,7 +144,7 @@ static time_t GetTimeUnixSec(void) { struct tm tim; rtcGetTime(&RTCD1, ×pec); - rtcConvertDateTimeToStructTm(×pec, &tim); + rtcConvertDateTimeToStructTm(×pec, &tim, NULL); return mktime(&tim); } @@ -153,7 +153,7 @@ static time_t GetTimeUnixSec(void) { */ static void GetTimeTm(struct tm *timp) { rtcGetTime(&RTCD1, ×pec); - rtcConvertDateTimeToStructTm(×pec, timp); + rtcConvertDateTimeToStructTm(×pec, timp, NULL); } /* -- cgit v1.2.3