mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 14:08:45 -04:00
Plane: always build with MAVLink2 headers
This commit is contained in:
parent
31866c66d8
commit
9f47e6417b
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user