mbed library sources
Fork of mbed-src by
Diff: targets/hal/TARGET_STM/TARGET_NUCLEO_F302R8/rtc_api.c
- Revision:
- 162:937d965048d3
- Parent:
- 135:067cc8ba23da
- Child:
- 170:bfbcaf535cca
--- a/targets/hal/TARGET_STM/TARGET_NUCLEO_F302R8/rtc_api.c Tue Apr 22 10:00:06 2014 +0100 +++ b/targets/hal/TARGET_STM/TARGET_NUCLEO_F302R8/rtc_api.c Tue Apr 22 13:30:06 2014 +0100 @@ -29,6 +29,8 @@ */ #include "rtc_api.h" +#if DEVICE_RTC + static int rtc_inited = 0; void rtc_init(void) { @@ -136,3 +138,5 @@ RTC_SetTime(RTC_Format_BIN, &timeStruct); PWR_BackupAccessCmd(DISABLE); // Disable access to RTC } + +#endif