mirror of https://github.com/ArduPilot/ardupilot
Mavlink: enable MAVLINK_SEPARATE_HELPERS
this fixes a seq number problem with SIMSTATE packets
This commit is contained in:
parent
880404d062
commit
2e7939cbf4
|
@ -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;
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue