mbed library sources. Supersedes mbed-src. Fixed broken STM32F1xx RTC on rtc_api.c
Dependents: Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay
Fork of mbed-dev by
Diff: platform/mbed_rtc_time.cpp
- Revision:
- 167:e84263d55307
- Parent:
- 160:d5399cc887bb
- Child:
- 169:e3b6fe271b81
diff -r c97ed07ec1a8 -r e84263d55307 platform/mbed_rtc_time.cpp --- a/platform/mbed_rtc_time.cpp Thu Jun 08 15:02:37 2017 +0100 +++ b/platform/mbed_rtc_time.cpp Wed Jun 21 17:46:44 2017 +0100 @@ -53,7 +53,7 @@ } } - time_t t = 0; + time_t t = -1; if (_rtc_read != NULL) { t = _rtc_read(); }