@@ -302,7 +302,7 @@ impl RccExt for RCC {
302
302
sysclk : None ,
303
303
pll48clk : false ,
304
304
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) ) ]
306
306
i2s_clk : None ,
307
307
#[ cfg( any( gpio_f412, gpio_f413, gpio_f446) ) ]
308
308
i2s_apb1_clk : None ,
@@ -343,15 +343,15 @@ pub const SYSCLK_MAX: u32 = 84_000_000;
343
343
/// Maximum system clock frequency
344
344
pub const SYSCLK_MAX : u32 = 168_000_000 ;
345
345
346
- #[ cfg( any( gpio_f410, gpio_f411, gpio_f412, gpio_f413, ) ) ]
346
+ #[ cfg( any( gpio_f410, gpio_f411, gpio_f412, gpio_f413) ) ]
347
347
/// Maximum system clock frequency
348
348
pub const SYSCLK_MAX : u32 = 100_000_000 ;
349
349
350
350
#[ cfg( any( gpio_f427, gpio_f446, gpio_f469) ) ]
351
351
/// Maximum system clock frequency
352
352
pub const SYSCLK_MAX : u32 = 180_000_000 ;
353
353
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) ) ]
355
355
/// Maximum APB2 peripheral clock frequency
356
356
pub const PCLK2_MAX : u32 = SYSCLK_MAX ;
357
357
@@ -372,7 +372,7 @@ pub struct CFGR {
372
372
pll48clk : bool ,
373
373
374
374
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) ) ]
376
376
i2s_clk : Option < u32 > ,
377
377
#[ cfg( any( gpio_f412, gpio_f413, gpio_f446) ) ]
378
378
i2s_apb1_clk : Option < u32 > ,
@@ -441,7 +441,7 @@ impl CFGR {
441
441
}
442
442
443
443
/// 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) ) ]
445
445
pub fn i2s_clk ( mut self , freq : Hertz ) -> Self {
446
446
self . i2s_clk = Some ( freq. raw ( ) ) ;
447
447
self
@@ -596,7 +596,7 @@ impl CFGR {
596
596
}
597
597
}
598
598
599
- #[ cfg( any( gpio_f401, gpio_f417, gpio_f427, gpio_f469, ) ) ]
599
+ #[ cfg( any( gpio_f401, gpio_f417, gpio_f427, gpio_f469) ) ]
600
600
#[ inline( always) ]
601
601
fn pll_setup ( & self , pllsrcclk : u32 , pllsysclk : Option < u32 > ) -> PllSetup {
602
602
let i2s_clocks = self . i2s_clocks ( ) ;
0 commit comments