mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-23 22:58:10 +08:00
mavlink: get the ifdefs correct
This commit is contained in:
@@ -1100,11 +1100,13 @@ Mavlink::find_broadcast_address()
|
||||
|
||||
delete[] ifconf.ifc_req;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
Mavlink::init_udp()
|
||||
{
|
||||
#if defined (__PX4_LINUX) || defined (__PX4_DARWIN)
|
||||
|
||||
PX4_INFO("Setting up UDP w/port %d", _network_port);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user