1358: Fix typo in derivation of PLLP divisor for STM32F2 family r=Dirbaio a=sgoll

This PR fixes a typo in the derivation of the PLLP divisor for the STM32F2 family.

Fixes #1357 

Co-authored-by: Sebastian Goll <sebastian.goll@gmx.de>
This commit is contained in:
bors[bot] 2023-04-12 01:09:41 +00:00 committed by GitHub
commit ba8cafb20c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,7 +148,7 @@ impl Into<Pllp> for PLLMainDiv {
match self { match self {
PLLMainDiv::Div2 => Pllp::DIV2, PLLMainDiv::Div2 => Pllp::DIV2,
PLLMainDiv::Div4 => Pllp::DIV4, PLLMainDiv::Div4 => Pllp::DIV4,
PLLMainDiv::Div6 => Pllp::DIV8, PLLMainDiv::Div6 => Pllp::DIV6,
PLLMainDiv::Div8 => Pllp::DIV8, PLLMainDiv::Div8 => Pllp::DIV8,
} }
} }