From 344aab1594be5ebbe3e1ef2f234b5bc0472ab21d Mon Sep 17 00:00:00 2001 From: Andrey Zgarbul Date: Fri, 11 Mar 2022 09:47:26 +0300 Subject: [PATCH] revert erased macro --- src/gpio/erased.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gpio/erased.rs b/src/gpio/erased.rs index bb122172..7846cee8 100644 --- a/src/gpio/erased.rs +++ b/src/gpio/erased.rs @@ -159,6 +159,7 @@ impl InputPin for ErasedPin> { } } +#[cfg(not(any(feature = "xl", feature = "high")))] impl_pxx! { ('A'::PAx), ('B'::PBx), @@ -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) }