Skip to content

Commit

Permalink
Merge pull request #419 from stm32-rs/erased
Browse files Browse the repository at this point in the history
revert erased macro
  • Loading branch information
burrbull authored Mar 11, 2022
2 parents 470cd83 + 344aab1 commit cdc21db
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/gpio/erased.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ impl InputPin for ErasedPin<Output<OpenDrain>> {
}
}

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

#[cfg(any(feature = "xl", feature = "high"))]
impl_pxx! {
('A'::PAx),
('B'::PBx),
('C'::PCx),
('D'::PDx),
('E'::PEx),
('F'::PFx),
('G'::PGx)
}

0 comments on commit cdc21db

Please sign in to comment.