Browse Source

AP_OpenDroneID: added AP_OpenDroneID_config.h

master
Andrew Tridgell 3 years ago
parent
commit
68f05c7386
  1. 1
      libraries/AP_OpenDroneID/AP_OpenDroneID.h
  2. 8
      libraries/AP_OpenDroneID/AP_OpenDroneID_config.h

1
libraries/AP_OpenDroneID/AP_OpenDroneID.h

@ -28,6 +28,7 @@ @@ -28,6 +28,7 @@
#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

8
libraries/AP_OpenDroneID/AP_OpenDroneID_config.h

@ -0,0 +1,8 @@ @@ -0,0 +1,8 @@
#pragma once
#include <AP_HAL/AP_HAL_Boards.h>
#ifndef AP_OPENDRONEID_ENABLED
// default to off. Enabled in hwdef.dat
#define AP_OPENDRONEID_ENABLED 0
#endif
Loading…
Cancel
Save