stm32/rcc: fix unnecessary parentheses

This commit is contained in:
Dario Nieuwenhuis 2022-08-17 15:01:07 +02:00
parent 72cd015c1a
commit 2649f13dc7

View File

@ -63,7 +63,7 @@ seq_macro::seq!(N in 2..=128 {
match self {
PllClkDiv::NotDivided => 1,
#(
PllClkDiv::Div~N => (N + 1),
PllClkDiv::Div~N => N + 1,
)*
}
}
@ -81,7 +81,7 @@ seq_macro::seq!(N in 4..=512 {
pub enum PllN {
NotMultiplied,
#(
Mul~N = (N-1),
Mul~N = N-1,
)*
}
@ -90,7 +90,7 @@ seq_macro::seq!(N in 4..=512 {
match self {
PllN::NotMultiplied => 1,
#(
PllN::Mul~N => (N + 1),
PllN::Mul~N => N + 1,
)*
}
}