eth-v2: Work around missing AF for REF_CLK
This commit is contained in:
parent
0c837f07c0
commit
54ad2a41f1
@ -449,8 +449,8 @@ macro_rules! impl_pin {
|
||||
}
|
||||
|
||||
crate::pac::peripheral_pins!(
|
||||
($inst:ident, eth, ETH, $pin:ident, REF_CLK, $af:expr) => {
|
||||
impl_pin!($pin, RefClkPin, $af);
|
||||
($inst:ident, eth, ETH, $pin:ident, REF_CLK) => {
|
||||
impl_pin!($pin, RefClkPin, 11);
|
||||
};
|
||||
($inst:ident, eth, ETH, $pin:ident, MDIO, $af:expr) => {
|
||||
impl_pin!($pin, MDIOPin, $af);
|
||||
|
Loading…
x
Reference in New Issue
Block a user