@@ -68,7 +68,6 @@ macro_rules! bus_reset {
6868macro_rules! bus {
6969 ( $( $PER: ident => ( $busX: ty, $bit: literal) , ) +) => {
7070 $(
71- impl crate :: Sealed for crate :: pac:: $PER { }
7271 impl RccBus for crate :: pac:: $PER {
7372 type Bus = $busX;
7473 }
@@ -79,8 +78,6 @@ macro_rules! bus {
7978 }
8079}
8180
82- #[ cfg( feature = "quadspi" ) ]
83- impl crate :: Sealed for crate :: pac:: QUADSPI { }
8481#[ cfg( feature = "quadspi" ) ]
8582impl RccBus for crate :: pac:: QUADSPI {
8683 type Bus = AHB3 ;
@@ -148,8 +145,6 @@ bus! {
148145
149146// TODO: fix absent ahb3lpenr
150147#[ cfg( feature = "fsmc" ) ]
151- impl crate :: Sealed for crate :: pac:: FSMC { }
152- #[ cfg( feature = "fsmc" ) ]
153148impl RccBus for crate :: pac:: FSMC {
154149 type Bus = AHB3 ;
155150}
@@ -250,8 +245,6 @@ bus! {
250245 ADC1 => ( APB2 , 8 ) ,
251246}
252247
253- #[ cfg( feature = "adc2" ) ]
254- impl crate :: Sealed for crate :: pac:: ADC2 { }
255248#[ cfg( feature = "adc2" ) ]
256249impl RccBus for crate :: pac:: ADC2 {
257250 type Bus = APB2 ;
@@ -263,8 +256,6 @@ bus_lpenable!(ADC2 => 9);
263256#[ cfg( feature = "adc2" ) ]
264257bus_reset ! ( ADC2 => 8 ) ;
265258
266- #[ cfg( feature = "adc3" ) ]
267- impl crate :: Sealed for crate :: pac:: ADC3 { }
268259#[ cfg( feature = "adc3" ) ]
269260impl RccBus for crate :: pac:: ADC3 {
270261 type Bus = APB2 ;
0 commit comments