forked from Archive/PX4-Autopilot
Fixing build on targets without the UAVCAN module
This commit is contained in:
parent
d071177dd6
commit
7dacb835b9
|
@ -112,7 +112,7 @@ print("""
|
|||
#endif
|
||||
|
||||
#ifndef PRI64
|
||||
#define PRI64 "ll"
|
||||
#define PRI64 "lld"
|
||||
#endif
|
||||
|
||||
""")
|
||||
|
|
|
@ -47,6 +47,9 @@
|
|||
#include "mavlink_parameters.h"
|
||||
#include "mavlink_main.h"
|
||||
|
||||
ORB_DEFINE(uavcan_parameter_request, struct uavcan_parameter_request_s);
|
||||
ORB_DEFINE(uavcan_parameter_value, struct uavcan_parameter_value_s);
|
||||
|
||||
MavlinkParametersManager::MavlinkParametersManager(Mavlink *mavlink) : MavlinkStream(mavlink),
|
||||
_send_all_index(-1),
|
||||
_rc_param_map_pub(nullptr),
|
||||
|
|
|
@ -64,9 +64,6 @@
|
|||
|
||||
#include <v1.0/common/mavlink.h>
|
||||
|
||||
ORB_DEFINE(uavcan_parameter_request, struct uavcan_parameter_request_s);
|
||||
ORB_DEFINE(uavcan_parameter_value, struct uavcan_parameter_value_s);
|
||||
|
||||
//todo:The Inclusion of file_server_backend is killing
|
||||
// #include <sys/types.h> and leaving OK undefined
|
||||
# define OK 0
|
||||
|
|
Loading…
Reference in New Issue