From 68f05c73864649b77ef3a738135c62be58901a9a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 11 Aug 2022 18:28:59 +1000 Subject: [PATCH] AP_OpenDroneID: added AP_OpenDroneID_config.h --- libraries/AP_OpenDroneID/AP_OpenDroneID.h | 1 + libraries/AP_OpenDroneID/AP_OpenDroneID_config.h | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 libraries/AP_OpenDroneID/AP_OpenDroneID_config.h diff --git a/libraries/AP_OpenDroneID/AP_OpenDroneID.h b/libraries/AP_OpenDroneID/AP_OpenDroneID.h index 69423431a3..105c9fd943 100644 --- a/libraries/AP_OpenDroneID/AP_OpenDroneID.h +++ b/libraries/AP_OpenDroneID/AP_OpenDroneID.h @@ -28,6 +28,7 @@ #pragma once #include +#include "AP_OpenDroneID_config.h" #ifndef AP_OPENDRONEID_ENABLED // default to off. Enabled in hwdef.dat diff --git a/libraries/AP_OpenDroneID/AP_OpenDroneID_config.h b/libraries/AP_OpenDroneID/AP_OpenDroneID_config.h new file mode 100644 index 0000000000..d1bf00b6cb --- /dev/null +++ b/libraries/AP_OpenDroneID/AP_OpenDroneID_config.h @@ -0,0 +1,8 @@ +#pragma once + +#include + +#ifndef AP_OPENDRONEID_ENABLED +// default to off. Enabled in hwdef.dat +#define AP_OPENDRONEID_ENABLED 0 +#endif