eth-v2: Work around missing AF for REF_CLK

This commit is contained in:
Thales Fragoso 2021-06-11 01:43:28 -03:00 committed by Dario Nieuwenhuis
parent 0c837f07c0
commit 54ad2a41f1

View File

@ -449,8 +449,8 @@ macro_rules! impl_pin {
} }
crate::pac::peripheral_pins!( crate::pac::peripheral_pins!(
($inst:ident, eth, ETH, $pin:ident, REF_CLK, $af:expr) => { ($inst:ident, eth, ETH, $pin:ident, REF_CLK) => {
impl_pin!($pin, RefClkPin, $af); impl_pin!($pin, RefClkPin, 11);
}; };
($inst:ident, eth, ETH, $pin:ident, MDIO, $af:expr) => { ($inst:ident, eth, ETH, $pin:ident, MDIO, $af:expr) => {
impl_pin!($pin, MDIOPin, $af); impl_pin!($pin, MDIOPin, $af);