git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14307 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2021-04-24 19:14:25 +00:00
parent 6ffbdecc93
commit c31932ba49
2 changed files with 5 additions and 3 deletions

View File

@ -134,7 +134,7 @@ void stm32_clock_init(void) {
rccResetAPB2(~0);
/* PWR clock enable.*/
#if defined(HAL_USE_RTC) && defined(RCC_APBENR1_RTCAPBEN)
#if (HAL_USE_RTC == TRUE) && defined(RCC_APBENR1_RTCAPBEN)
rccEnableAPB1R1(RCC_APB1ENR1_PWREN | RCC_APB1ENR1_RTCAPBEN, false)
#else
rccEnableAPB1R1(RCC_APB1ENR1_PWREN, false)

View File

@ -133,10 +133,12 @@
MEMS Accelerometers.
- NEW: Safer messages mechanism for sandboxes (to be backported to 20.3.1).
- NEW: Added latency measurement test application.
- FIX: Fixed STM32G431 DMA defines error (bug #1155)
(backported to 20.3.4).
- FIX: Fixed wrong check on HAL_USE_RTC in STM32G4 clock initialization
(bug #1157)(backported to 20.3.4).
- FIX: Fixed wrong checks related to PLLSAI2 on L4 and L4+ (bug #1156)
(backported to 20.3.4)(backported to 19.1.5).
- FIX: Fixed STM32G431 DMA defines error (bug #1155)
(backported to 20.3.4).
- FIX: Fixed errors in STM32L4xx registry (bug #1154)
(backported to 20.3.4)(backported to 19.1.5).
- FIX: Fixed QUADSPI errata fix applied to all platforms (bug #1153)