Skip to content

Commit 76efc71

Browse files
committed
Merge branch 'master' into canbus-with-crate
2 parents 5031371 + 8486da1 commit 76efc71

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2121
- Introduced auto-generated GPIO mappings based on the STM32CubeMX database
2222
([#129](https://github.com/stm32-rs/stm32f3xx-hal/pull/129))
2323

24+
- Fixed [#151][] not being
25+
able to generate 72 MHz HCLK for stm32f303xc devices ([#152](https://github.com/stm32-rs/stm32f3xx-hal/pull/152))
26+
27+
[#151]: https://github.com/stm32-rs/stm32f3xx-hal/issues/151
28+
2429
## [v0.5.0] - 2020-07-21
2530

2631
### Added

src/rcc.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,11 +369,9 @@ impl CFGR {
369369
let mut divisor = pllsrcclk / common_divisor;
370370

371371
// 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 {
374373
// PLL_MUL minimal value is 2
375374
multiplier *= 2;
376-
// PRE_DIV minimal value is 2
377375
divisor *= 2;
378376
}
379377

0 commit comments

Comments
 (0)