@@ -302,7 +302,7 @@ impl RccExt for RCC {
302302 sysclk : None ,
303303 pll48clk : false ,
304304 i2s_ckin : None ,
305- #[ cfg( any( gpio_f401, gpio_f410, gpio_f411, gpio_f417, gpio_f427, gpio_f469, ) ) ]
305+ #[ cfg( any( gpio_f401, gpio_f410, gpio_f411, gpio_f417, gpio_f427, gpio_f469) ) ]
306306 i2s_clk : None ,
307307 #[ cfg( any( gpio_f412, gpio_f413, gpio_f446) ) ]
308308 i2s_apb1_clk : None ,
@@ -343,15 +343,15 @@ pub const SYSCLK_MAX: u32 = 84_000_000;
343343/// Maximum system clock frequency
344344pub const SYSCLK_MAX : u32 = 168_000_000 ;
345345
346- #[ cfg( any( gpio_f410, gpio_f411, gpio_f412, gpio_f413, ) ) ]
346+ #[ cfg( any( gpio_f410, gpio_f411, gpio_f412, gpio_f413) ) ]
347347/// Maximum system clock frequency
348348pub const SYSCLK_MAX : u32 = 100_000_000 ;
349349
350350#[ cfg( any( gpio_f427, gpio_f446, gpio_f469) ) ]
351351/// Maximum system clock frequency
352352pub const SYSCLK_MAX : u32 = 180_000_000 ;
353353
354- #[ cfg( any( gpio_f401, gpio_f410, gpio_f411, gpio_f412, gpio_f413, ) ) ]
354+ #[ cfg( any( gpio_f401, gpio_f410, gpio_f411, gpio_f412, gpio_f413) ) ]
355355/// Maximum APB2 peripheral clock frequency
356356pub const PCLK2_MAX : u32 = SYSCLK_MAX ;
357357
@@ -372,7 +372,7 @@ pub struct CFGR {
372372 pll48clk : bool ,
373373
374374 i2s_ckin : Option < u32 > ,
375- #[ cfg( any( gpio_f401, gpio_f410, gpio_f411, gpio_f417, gpio_f427, gpio_f469, ) ) ]
375+ #[ cfg( any( gpio_f401, gpio_f410, gpio_f411, gpio_f417, gpio_f427, gpio_f469) ) ]
376376 i2s_clk : Option < u32 > ,
377377 #[ cfg( any( gpio_f412, gpio_f413, gpio_f446) ) ]
378378 i2s_apb1_clk : Option < u32 > ,
@@ -441,7 +441,7 @@ impl CFGR {
441441 }
442442
443443 /// Selects an I2S clock frequency and enables the I2S clock.
444- #[ cfg( any( gpio_f401, gpio_f410, gpio_f411, gpio_f417, gpio_f427, gpio_f469, ) ) ]
444+ #[ cfg( any( gpio_f401, gpio_f410, gpio_f411, gpio_f417, gpio_f427, gpio_f469) ) ]
445445 pub fn i2s_clk ( mut self , freq : Hertz ) -> Self {
446446 self . i2s_clk = Some ( freq. raw ( ) ) ;
447447 self
@@ -596,7 +596,7 @@ impl CFGR {
596596 }
597597 }
598598
599- #[ cfg( any( gpio_f401, gpio_f417, gpio_f427, gpio_f469, ) ) ]
599+ #[ cfg( any( gpio_f401, gpio_f417, gpio_f427, gpio_f469) ) ]
600600 #[ inline( always) ]
601601 fn pll_setup ( & self , pllsrcclk : u32 , pllsysclk : Option < u32 > ) -> PllSetup {
602602 let i2s_clocks = self . i2s_clocks ( ) ;
0 commit comments