aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-11-18 11:36:01 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-11-18 11:36:01 +0000
commit9913d1b6ffb81eccdc2c28ae9041872237195856 (patch)
tree8bce3b60e49b7e1281efec99c3c582b06f2be029 /os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.h
parent7c77845aa765b51b4026749bc4439bb100cc722a (diff)
downloadChibiOS-9913d1b6ffb81eccdc2c28ae9041872237195856.tar.gz
ChibiOS-9913d1b6ffb81eccdc2c28ae9041872237195856.tar.bz2
ChibiOS-9913d1b6ffb81eccdc2c28ae9041872237195856.zip
Changes to RTCv2 driver, not finished yet.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12433 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.h')
-rw-r--r--os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.h b/os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.h
index 1903af378..821985158 100644
--- a/os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.h
+++ b/os/hal/ports/STM32/LLD/RTCv1/hal_rtc_lld.h
@@ -85,11 +85,6 @@
/*===========================================================================*/
/**
- * @brief Type of a structure representing an RTC alarm time stamp.
- */
-typedef struct RTCAlarm RTCAlarm;
-
-/**
* @brief Type of an RTC event.
*/
typedef enum {
@@ -104,9 +99,9 @@ typedef enum {
typedef void (*rtccb_t)(RTCDriver *rtcp, rtcevent_t event);
/**
- * @brief Structure representing an RTC alarm time stamp.
+ * @brief Type of a structure representing an RTC alarm time stamp.
*/
-struct RTCAlarm {
+typedef struct hsl_rtc_alarm {
/**
* @brief Seconds since UNIX epoch.
*/