From 2649f13dc7c0bff87752f4fbf0d3cab7b1468e12 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Wed, 17 Aug 2022 15:01:07 +0200 Subject: [PATCH] stm32/rcc: fix unnecessary parentheses --- embassy-stm32/src/rcc/u5.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/embassy-stm32/src/rcc/u5.rs b/embassy-stm32/src/rcc/u5.rs index 1f7e3907..960c4532 100644 --- a/embassy-stm32/src/rcc/u5.rs +++ b/embassy-stm32/src/rcc/u5.rs @@ -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, )* } }