Skip to content

Commit

Permalink
AP_DroneID: remove duplicate definition of AP_OPENDRONEID_ENABLED
Browse files Browse the repository at this point in the history
... my guess is conflict resolution caused this
  • Loading branch information
peterbarker committed Oct 13, 2023
1 parent 2cb1f9b commit ccc33c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 2 additions & 1 deletion libraries/AP_OpenDroneID/AP_OpenDroneID.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
6 changes: 0 additions & 6 deletions libraries/AP_OpenDroneID/AP_OpenDroneID.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit ccc33c0

Please sign in to comment.