Skip to content

Commit cdc21db

Browse files
authored
Merge pull request #419 from stm32-rs/erased
revert erased macro
2 parents 470cd83 + 344aab1 commit cdc21db

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/gpio/erased.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ impl InputPin for ErasedPin<Output<OpenDrain>> {
159159
}
160160
}
161161

162+
#[cfg(not(any(feature = "xl", feature = "high")))]
162163
impl_pxx! {
163164
('A'::PAx),
164165
('B'::PBx),
@@ -169,6 +170,11 @@ impl_pxx! {
169170

170171
#[cfg(any(feature = "xl", feature = "high"))]
171172
impl_pxx! {
173+
('A'::PAx),
174+
('B'::PBx),
175+
('C'::PCx),
176+
('D'::PDx),
177+
('E'::PEx),
172178
('F'::PFx),
173179
('G'::PGx)
174180
}

0 commit comments

Comments
 (0)