eth-v2: Work around missing AF for REF_CLK
This commit is contained in:
parent
0c837f07c0
commit
54ad2a41f1
1 changed files with 10 additions and 10 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue