@@ -68,7 +68,6 @@ macro_rules! bus_reset {
68
68
macro_rules! bus {
69
69
( $( $PER: ident => ( $busX: ty, $bit: literal) , ) +) => {
70
70
$(
71
- impl crate :: Sealed for crate :: pac:: $PER { }
72
71
impl RccBus for crate :: pac:: $PER {
73
72
type Bus = $busX;
74
73
}
@@ -79,8 +78,6 @@ macro_rules! bus {
79
78
}
80
79
}
81
80
82
- #[ cfg( feature = "quadspi" ) ]
83
- impl crate :: Sealed for crate :: pac:: QUADSPI { }
84
81
#[ cfg( feature = "quadspi" ) ]
85
82
impl RccBus for crate :: pac:: QUADSPI {
86
83
type Bus = AHB3 ;
@@ -148,8 +145,6 @@ bus! {
148
145
149
146
// TODO: fix absent ahb3lpenr
150
147
#[ cfg( feature = "fsmc" ) ]
151
- impl crate :: Sealed for crate :: pac:: FSMC { }
152
- #[ cfg( feature = "fsmc" ) ]
153
148
impl RccBus for crate :: pac:: FSMC {
154
149
type Bus = AHB3 ;
155
150
}
@@ -250,8 +245,6 @@ bus! {
250
245
ADC1 => ( APB2 , 8 ) ,
251
246
}
252
247
253
- #[ cfg( feature = "adc2" ) ]
254
- impl crate :: Sealed for crate :: pac:: ADC2 { }
255
248
#[ cfg( feature = "adc2" ) ]
256
249
impl RccBus for crate :: pac:: ADC2 {
257
250
type Bus = APB2 ;
@@ -263,8 +256,6 @@ bus_lpenable!(ADC2 => 9);
263
256
#[ cfg( feature = "adc2" ) ]
264
257
bus_reset ! ( ADC2 => 8 ) ;
265
258
266
- #[ cfg( feature = "adc3" ) ]
267
- impl crate :: Sealed for crate :: pac:: ADC3 { }
268
259
#[ cfg( feature = "adc3" ) ]
269
260
impl RccBus for crate :: pac:: ADC3 {
270
261
type Bus = APB2 ;
0 commit comments