Skip to content
Snippets Groups Projects
Commit 43fe5bab authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

re-enable the AP_Mount build

parent 14238102
No related branches found
No related tags found
No related merge requests found
...@@ -54,8 +54,7 @@ version 2.1 of the License, or (at your option) any later version. ...@@ -54,8 +54,7 @@ version 2.1 of the License, or (at your option) any later version.
#include <GCS_MAVLink.h> // MAVLink GCS definitions #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 // Local modules
#include "defines.h" #include "defines.h"
......
...@@ -8,7 +8,7 @@ set -x ...@@ -8,7 +8,7 @@ set -x
echo "Testing ArduPlane build" echo "Testing ArduPlane build"
pushd ArduPlane 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 pwd
make clean make clean
make $b make $b
......
...@@ -12,6 +12,11 @@ ...@@ -12,6 +12,11 @@
// to select MAVLink 1.0 in the arduino GUI build // to select MAVLink 1.0 in the arduino GUI build
//#define MAVLINK_SEPARATE_HELPERS //#define MAVLINK_SEPARATE_HELPERS
#ifndef MAVLINK10
// default to MAVLINK 1.0
#define MAVLINK10 ENABLED
#endif
#if MAVLINK10 == ENABLED #if MAVLINK10 == ENABLED
# include "include/mavlink/v1.0/ardupilotmega/version.h" # include "include/mavlink/v1.0/ardupilotmega/version.h"
#else #else
...@@ -119,7 +124,7 @@ static inline int comm_get_txspace(mavlink_channel_t chan) ...@@ -119,7 +124,7 @@ static inline int comm_get_txspace(mavlink_channel_t chan)
} }
#define MAVLINK_USE_CONVENIENCE_FUNCTIONS #define MAVLINK_USE_CONVENIENCE_FUNCTIONS
#if MAVLINK10==1 #if MAVLINK10==ENABLED
# include "include/mavlink/v1.0/ardupilotmega/mavlink.h" # include "include/mavlink/v1.0/ardupilotmega/mavlink.h"
#else #else
# include "include/mavlink/v0.9/ardupilotmega/mavlink.h" # include "include/mavlink/v0.9/ardupilotmega/mavlink.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment