AP_Mount: support mavlink2 build
This commit is contained in:
parent
4eadab7a90
commit
0ef5d8995b
@ -3,7 +3,11 @@
|
||||
#include "AP_Mount_SToRM32_serial.h"
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
#include <GCS_MAVLink/GCS_MAVLink.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
|
||||
#include <AP_HAL/utility/RingBuffer.h>
|
||||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
Loading…
Reference in New Issue
Block a user