Forked mbed-dev as I use an 20 pins stm32F042 and not the 32 pins version
Fork of mbed-dev by
Revision 153:0a78729d3229, committed 2017-01-22
- Comitter:
- riktw
- Date:
- Sun Jan 22 22:20:36 2017 +0000
- Parent:
- 152:4ad7ad749c0c
- Commit message:
- Back to 8Mhz clock. Revision 1.0
Changed in this revision
targets/TARGET_STM/TARGET_STM32F0/rtc_api.c | Show annotated file Show diff for this revision Revisions of this file |
diff -r 4ad7ad749c0c -r 0a78729d3229 targets/TARGET_STM/TARGET_STM32F0/rtc_api.c --- a/targets/TARGET_STM/TARGET_STM32F0/rtc_api.c Sun Dec 25 09:52:32 2016 +0000 +++ b/targets/TARGET_STM/TARGET_STM32F0/rtc_api.c Sun Jan 22 22:20:36 2017 +0000 @@ -123,7 +123,7 @@ RtcHandle.Init.HourFormat = RTC_HOURFORMAT_24; RtcHandle.Init.AsynchPrediv = 124; - RtcHandle.Init.SynchPrediv = 3999; + RtcHandle.Init.SynchPrediv = 1999; RtcHandle.Init.OutPut = RTC_OUTPUT_DISABLE; RtcHandle.Init.OutPutPolarity = RTC_OUTPUT_POLARITY_HIGH; RtcHandle.Init.OutPutType = RTC_OUTPUT_TYPE_OPENDRAIN;