mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_OpenDroneID: remove duplicate definition of AP_OPENDRONEID_ENABLED
... my guess is conflict resolution caused this
This commit is contained in:
parent
fcd4152b30
commit
8b67775673
@ -27,10 +27,11 @@
|
|||||||
* and DroneCAN
|
* and DroneCAN
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "AP_OpenDroneID.h"
|
#include "AP_OpenDroneID_config.h"
|
||||||
|
|
||||||
#if AP_OPENDRONEID_ENABLED
|
#if AP_OPENDRONEID_ENABLED
|
||||||
|
|
||||||
|
#include "AP_OpenDroneID.h"
|
||||||
#include <AP_HAL/AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include <GCS_MAVLink/GCS.h>
|
#include <GCS_MAVLink/GCS.h>
|
||||||
#include <AP_GPS/AP_GPS.h>
|
#include <AP_GPS/AP_GPS.h>
|
||||||
|
@ -27,14 +27,8 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <AP_HAL/AP_HAL_Boards.h>
|
|
||||||
#include "AP_OpenDroneID_config.h"
|
#include "AP_OpenDroneID_config.h"
|
||||||
|
|
||||||
#ifndef AP_OPENDRONEID_ENABLED
|
|
||||||
// default to off. Enabled in hwdef.dat
|
|
||||||
#define AP_OPENDRONEID_ENABLED 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if AP_OPENDRONEID_ENABLED
|
#if AP_OPENDRONEID_ENABLED
|
||||||
|
|
||||||
#include <AP_Math/AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user