mirror of https://github.com/ArduPilot/ardupilot
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);
|
||||
|
||||
#if LWIP_IGMP
|
||||
if (ETH != nullptr) {
|
||||
// enbale "permit multicast" so we can receive multicast packets
|
||||
ETH->MACPFR |= ETH_MACPFR_PM;
|
||||
}
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue