added fix for https://github.com/embassy-rs/embassy/issues/2496 in the v1 driver
This commit is contained in:
parent
e7c3e1b266
commit
9e9fa1cbef
@ -163,6 +163,11 @@ impl<'d, T: Instance, P: PHY> Ethernet<'d, T, P> {
|
||||
// TODO: Carrier sense ? ECRSFD
|
||||
});
|
||||
|
||||
// Set the mac to pass all multicast packets
|
||||
mac.macffr().modify(|w| {
|
||||
w.set_pam(true);
|
||||
});
|
||||
|
||||
// Note: Writing to LR triggers synchronisation of both LR and HR into the MAC core,
|
||||
// so the LR write must happen after the HR write.
|
||||
mac.maca0hr()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user