Skip to content

Commit

Permalink
Merge pull request #738 from ithinuel/add-missing-validfunction-dynfu…
Browse files Browse the repository at this point in the history
…nction-impl

add missing ValidFunction implementation for DynFunction.
  • Loading branch information
thejpster authored Dec 21, 2023
2 parents 935c92a + a8f6b2f commit 3969e41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rp2040-hal/src/gpio/func.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ impl DynFunction {
}
}
}
impl<P: super::pin::PinId> ValidFunction<DynFunction> 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),+]);
Expand Down

0 comments on commit 3969e41

Please sign in to comment.