diff --git a/rp2040-hal/src/gpio/func.rs b/rp2040-hal/src/gpio/func.rs index 6eb32c188..353180df2 100644 --- a/rp2040-hal/src/gpio/func.rs +++ b/rp2040-hal/src/gpio/func.rs @@ -173,6 +173,7 @@ impl DynFunction { } } } +impl ValidFunction for P {} macro_rules! pin_valid_func { ($bank:ident as $prefix:ident, [$head:ident $(, $func:ident)*], [$($name:tt),+]) => { pin_valid_func!($bank as $prefix, [$($func),*], [$($name),+]);