AP_OpenDroneID: added AP_OpenDroneID_config.h

This commit is contained in:
Andrew Tridgell 2022-08-11 18:28:59 +10:00
parent 673fed92c7
commit 68f05c7386
2 changed files with 9 additions and 0 deletions

View File

@ -28,6 +28,7 @@
#pragma once #pragma once
#include <AP_HAL/AP_HAL_Boards.h> #include <AP_HAL/AP_HAL_Boards.h>
#include "AP_OpenDroneID_config.h"
#ifndef AP_OPENDRONEID_ENABLED #ifndef AP_OPENDRONEID_ENABLED
// default to off. Enabled in hwdef.dat // default to off. Enabled in hwdef.dat

View File

@ -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