mavlink: get the ifdefs correct

This commit is contained in:
Julian Oes
2016-04-11 13:34:38 +02:00
committed by Lorenz Meier
parent 72be6de0cf
commit 0438bf6a8b
+2
View File
@@ -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);