File tree 2 files changed +6
-3
lines changed 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
20
20
- Introduced auto-generated GPIO mappings based on the STM32CubeMX database
21
21
([ #129 ] ( https://github.com/stm32-rs/stm32f3xx-hal/pull/129 ) )
22
22
23
+ - Fixed [ #151 ] [ ] not being
24
+ able to generate 72 MHz HCLK for stm32f303xc devices ([ #152 ] ( https://github.com/stm32-rs/stm32f3xx-hal/pull/152 ) )
25
+
26
+ [ #151 ] : https://github.com/stm32-rs/stm32f3xx-hal/issues/151
27
+
23
28
## [ v0.5.0] - 2020-07-21
24
29
25
30
### Added
Original file line number Diff line number Diff line change @@ -369,11 +369,9 @@ impl CFGR {
369
369
let mut divisor = pllsrcclk / common_divisor;
370
370
371
371
// Check if the multiplier can be represented by PLL_MUL
372
- // or if the divisor can be represented by PRE_DIV
373
- if multiplier == 1 || divisor == 1 {
372
+ if multiplier == 1 {
374
373
// PLL_MUL minimal value is 2
375
374
multiplier *= 2 ;
376
- // PRE_DIV minimal value is 2
377
375
divisor *= 2 ;
378
376
}
379
377
You can’t perform that action at this time.
0 commit comments