Plane: always build with MAVLink2 headers

This commit is contained in:
Andrew Tridgell 2016-05-16 11:37:16 +10:00
parent 31866c66d8
commit 9f47e6417b
2 changed files with 0 additions and 7 deletions

View File

@ -2075,12 +2075,9 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
plane.adsb.update_vehicle(msg);
break;
#if MAVLINK_PROTOCOL_VERSION >= 2
case MAVLINK_MSG_ID_SETUP_SIGNING:
handle_setup_signing(msg);
break;
#endif
} // end switch
} // end handle mavlink

View File

@ -21,11 +21,7 @@
#include <drivers/drv_pwm_output.h>
#include <systemlib/mixer/mixer.h>
#include <modules/px4iofirmware/protocol.h>
#if MAVLINK_PROTOCOL_VERSION == 2
#include <GCS_MAVLink/include/mavlink/v2.0/checksum.h>
#else
#include <GCS_MAVLink/include/mavlink/v1.0/checksum.h>
#endif
#define PX4_LIM_RC_MIN 900
#define PX4_LIM_RC_MAX 2100