mirror of https://github.com/ArduPilot/ardupilot
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
|
||||
*/
|
||||
|
||||
#include "AP_OpenDroneID.h"
|
||||
#include "AP_OpenDroneID_config.h"
|
||||
|
||||
#if AP_OPENDRONEID_ENABLED
|
||||
|
||||
#include "AP_OpenDroneID.h"
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
#include <GCS_MAVLink/GCS.h>
|
||||
#include <AP_GPS/AP_GPS.h>
|
||||
|
|
|
@ -27,14 +27,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL_Boards.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
|
||||
|
||||
#include <AP_Math/AP_Math.h>
|
||||
|
|
Loading…
Reference in New Issue