mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Networking: enable receive of multicast packets
This commit is contained in:
parent
58cf4f65a9
commit
68e2bb1f15
@ -121,6 +121,13 @@ bool AP_Networking_ChibiOS::init()
|
|||||||
|
|
||||||
lwipInit(lwip_options);
|
lwipInit(lwip_options);
|
||||||
|
|
||||||
|
#if LWIP_IGMP
|
||||||
|
if (ETH != nullptr) {
|
||||||
|
// enbale "permit multicast" so we can receive multicast packets
|
||||||
|
ETH->MACPFR |= ETH_MACPFR_PM;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user