mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-05 03:51:36 +08:00
MAVLink: Fix NuttX build
This commit is contained in:
@@ -178,9 +178,11 @@ Mavlink::Mavlink() :
|
|||||||
_rate_tx(0.0f),
|
_rate_tx(0.0f),
|
||||||
_rate_txerr(0.0f),
|
_rate_txerr(0.0f),
|
||||||
_rate_rx(0.0f),
|
_rate_rx(0.0f),
|
||||||
|
#ifdef __PX4_POSIX
|
||||||
_myaddr{},
|
_myaddr{},
|
||||||
_src_addr{},
|
_src_addr{},
|
||||||
_bcast_addr{},
|
_bcast_addr{},
|
||||||
|
#endif
|
||||||
_socket_fd(-1),
|
_socket_fd(-1),
|
||||||
_protocol(SERIAL),
|
_protocol(SERIAL),
|
||||||
_network_port(14556),
|
_network_port(14556),
|
||||||
|
|||||||
Reference in New Issue
Block a user