Mavlink: enable MAVLINK_SEPARATE_HELPERS

this fixes a seq number problem with SIMSTATE packets
This commit is contained in:
Andrew Tridgell 2012-08-31 12:09:52 +10:00
parent 880404d062
commit 2e7939cbf4
2 changed files with 5 additions and 1 deletions

View File

@ -15,6 +15,10 @@ version 2.1 of the License, or (at your option) any later version.
#include <AP_Common.h> #include <AP_Common.h>
#include <GCS_MAVLink.h> #include <GCS_MAVLink.h>
#ifdef MAVLINK_SEPARATE_HELPERS
#include "include/mavlink/v1.0/mavlink_helpers.h"
#endif
BetterStream *mavlink_comm_0_port; BetterStream *mavlink_comm_0_port;
BetterStream *mavlink_comm_1_port; BetterStream *mavlink_comm_1_port;

View File

@ -10,7 +10,7 @@
// we have separate helpers disabled to make it possible // we have separate helpers disabled to make it possible
// 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
#include "include/mavlink/v1.0/ardupilotmega/version.h" #include "include/mavlink/v1.0/ardupilotmega/version.h"