re-enable the AP_Mount build

This commit is contained in:
Andrew Tridgell 2012-06-04 19:30:33 +10:00
parent 1423810247
commit 43fe5bab78
3 changed files with 8 additions and 4 deletions

View File

@ -54,8 +54,7 @@ version 2.1 of the License, or (at your option) any later version.
#include <GCS_MAVLink.h> // MAVLink GCS definitions
// AP_Mount disabled until it works with MAVLink10
// #include <AP_Mount.h> // Camera/Antenna mount
#include <AP_Mount.h> // Camera/Antenna mount
// Local modules
#include "defines.h"

View File

@ -8,7 +8,7 @@ set -x
echo "Testing ArduPlane build"
pushd ArduPlane
for b in all apm2 apm2beta hil hilsensors mavlink10 mavlink09 sitl sitl-mavlink10 sitl-mavlink09; do
for b in all apm2 apm2beta hil hilsensors mavlink10 mavlink09 sitl sitl-mavlink10 sitl-mavlink09 sitl-mount; do
pwd
make clean
make $b

View File

@ -12,6 +12,11 @@
// to select MAVLink 1.0 in the arduino GUI build
//#define MAVLINK_SEPARATE_HELPERS
#ifndef MAVLINK10
// default to MAVLINK 1.0
#define MAVLINK10 ENABLED
#endif
#if MAVLINK10 == ENABLED
# include "include/mavlink/v1.0/ardupilotmega/version.h"
#else
@ -119,7 +124,7 @@ static inline int comm_get_txspace(mavlink_channel_t chan)
}
#define MAVLINK_USE_CONVENIENCE_FUNCTIONS
#if MAVLINK10==1
#if MAVLINK10==ENABLED
# include "include/mavlink/v1.0/ardupilotmega/mavlink.h"
#else
# include "include/mavlink/v0.9/ardupilotmega/mavlink.h"