git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_16.1.x@10132 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2017-03-26 12:45:10 +00:00
parent e937ee0554
commit 38968212a5
2 changed files with 4 additions and 0 deletions

View File

@ -399,6 +399,9 @@ void rtcSTM32GetSecMsec(RTCDriver *rtcp, uint32_t *tv_sec, uint32_t *tv_msec) {
/* Required because access to CNT and DIV.*/
rtc_apb1_sync();
/* wait for previous write accesses to complete */
rtc_wait_write_completed();
/* Loops until two consecutive read returning the same value.*/
do {
*tv_sec = ((uint32_t)(rtcp->rtc->CNTH) << 16) + rtcp->rtc->CNTL;

View File

@ -73,6 +73,7 @@
*****************************************************************************
*** 16.1.8 ***
- HAL: Fixed STM32 RTCv1 synchronization problem (bug #820).
- HAL: Fixed wrong clock source definition for LPTIM on STM32L0xx (bug #819).
- HAL: Fixed STM32L432 bringup issues (bug #818).
- HAL: Fixed DAC driver problem with API signature (bug #817).