Fixing build on targets without the UAVCAN module

This commit is contained in:
Ben Dyer 2015-10-14 00:31:07 +11:00
parent d071177dd6
commit 7dacb835b9
3 changed files with 4 additions and 4 deletions

View File

@ -112,7 +112,7 @@ print("""
#endif
#ifndef PRI64
#define PRI64 "ll"
#define PRI64 "lld"
#endif
""")

View File

@ -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),

View File

@ -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