diff --git a/libraries/GCS_MAVLink/GCS_MAVLink.cpp b/libraries/GCS_MAVLink/GCS_MAVLink.cpp index f906724f06..d88ca94cb3 100644 --- a/libraries/GCS_MAVLink/GCS_MAVLink.cpp +++ b/libraries/GCS_MAVLink/GCS_MAVLink.cpp @@ -15,6 +15,10 @@ version 2.1 of the License, or (at your option) any later version. #include #include +#ifdef MAVLINK_SEPARATE_HELPERS +#include "include/mavlink/v1.0/mavlink_helpers.h" +#endif + BetterStream *mavlink_comm_0_port; BetterStream *mavlink_comm_1_port; diff --git a/libraries/GCS_MAVLink/GCS_MAVLink.h b/libraries/GCS_MAVLink/GCS_MAVLink.h index 6efa46f471..818725e96a 100644 --- a/libraries/GCS_MAVLink/GCS_MAVLink.h +++ b/libraries/GCS_MAVLink/GCS_MAVLink.h @@ -10,7 +10,7 @@ // we have separate helpers disabled to make it possible // to select MAVLink 1.0 in the arduino GUI build -//#define MAVLINK_SEPARATE_HELPERS +#define MAVLINK_SEPARATE_HELPERS #include "include/mavlink/v1.0/ardupilotmega/version.h"