Fixed bug #1164.
@@ -153,7 +153,7 @@ | ||
153 | 153 | #define ST_NUMBER STM32_TIM21_NUMBER |
154 | 154 | #define ST_CLOCK_SRC STM32_TIMCLK2 |
155 | 155 | #define ST_ENABLE_CLOCK() rccEnableTIM21(true) |
156 | -#define ST_ENABLE_STOP() DBGMCU->APB1FZ |= DBGMCU_APB2_FZ_DBG_TIM21_STOP | |
156 | +#define ST_ENABLE_STOP() DBGMCU->APB2FZ |= DBGMCU_APB2_FZ_DBG_TIM21_STOP | |
157 | 157 | |
158 | 158 | #elif STM32_ST_USE_TIMER == 22 |
159 | 159 | #if !STM32_HAS_TIM22 |
@@ -170,7 +170,7 @@ | ||
170 | 170 | #define ST_NUMBER STM32_TIM22_NUMBER |
171 | 171 | #define ST_CLOCK_SRC STM32_TIMCLK2 |
172 | 172 | #define ST_ENABLE_CLOCK() rccEnableTIM22(true) |
173 | -#define ST_ENABLE_STOP() DBGMCU->APB1FZ |= DBGMCU_APB2_FZ_DBG_TIM21_STOP | |
173 | +#define ST_ENABLE_STOP() DBGMCU->APB2FZ |= DBGMCU_APB2_FZ_DBG_TIM21_STOP | |
174 | 174 | |
175 | 175 | #else |
176 | 176 | #error "STM32_ST_USE_TIMER specifies an unsupported timer" |
@@ -74,6 +74,7 @@ | ||
74 | 74 | ***************************************************************************** |
75 | 75 | |
76 | 76 | *** 19.1.5 *** |
77 | +- FIX: Fixed invalid STM32 TIM21/TIM22 debug freeze setting (bug #1164). | |
77 | 78 | - FIX: Fixed warning in STM32 ADCv4 (bug #1158). |
78 | 79 | - FIX: Fixed wrong checks related to PLLSAI2 on L4 and L4+ (bug #1156). |
79 | 80 | - FIX: Fixed errors in STM32L4xx registry (bug #1154). |