From 95713cae20050dd58b41f52edead1b05c1c982a2 Mon Sep 17 00:00:00 2001 From: barthess Date: Wed, 21 Sep 2011 12:46:09 +0000 Subject: RTC. API cnahge. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3376 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/rtc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'os/hal/include') diff --git a/os/hal/include/rtc.h b/os/hal/include/rtc.h index e0a2c50c5..5adf9559c 100644 --- a/os/hal/include/rtc.h +++ b/os/hal/include/rtc.h @@ -75,8 +75,7 @@ extern "C" { #endif /* RTC_SUPPORTS_CALLBACKS */ void rtcSetTime(uint32_t tv_sec); - uint32_t rtcGetSec(void); - uint16_t rtcGetMsec(void); + uint32_t rtcGetTime(uint16_t *msec); void rtcSetAlarm(uint32_t tv_alarm); uint32_t rtcGetAlarm(void); #ifdef __cplusplus -- cgit v1.2.3