Browse Source

Mavlink: enable MAVLINK_SEPARATE_HELPERS

this fixes a seq number problem with SIMSTATE packets
master
Andrew Tridgell 13 years ago
parent
commit
3a1ff7bdd9
  1. 4
      libraries/GCS_MAVLink/GCS_MAVLink.cpp
  2. 2
      libraries/GCS_MAVLink/GCS_MAVLink.h

4
libraries/GCS_MAVLink/GCS_MAVLink.cpp

@ -15,6 +15,10 @@ version 2.1 of the License, or (at your option) any later version. @@ -15,6 +15,10 @@ version 2.1 of the License, or (at your option) any later version.
#include <AP_Common.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_1_port;

2
libraries/GCS_MAVLink/GCS_MAVLink.h

@ -10,7 +10,7 @@ @@ -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"

Loading…
Cancel
Save