From 626396e05404525813e824dbd408c72218a972b2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 11 Aug 2022 19:03:08 +1000 Subject: [PATCH] hwdef: added AP_OPENDRONEID_ENABLED to hwdef-bl.dat --- libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-ODID/hwdef-bl.dat | 3 +++ libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X-ODID/hwdef-bl.dat | 2 ++ 2 files changed, 5 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-ODID/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-ODID/hwdef-bl.dat index d2f4322d22..2990bed48e 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-ODID/hwdef-bl.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-ODID/hwdef-bl.dat @@ -3,3 +3,6 @@ include ../CubeOrange/hwdef-bl.dat # use a different board ID, so vehicles with OpenDroneID enabled are # prevented from loading the firmware without OpenDroneID enabled APJ_BOARD_ID 10140 + +# enable OpenDroneID +define AP_OPENDRONEID_ENABLED 1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X-ODID/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X-ODID/hwdef-bl.dat index 276f45a8c5..11440d48ef 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X-ODID/hwdef-bl.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X-ODID/hwdef-bl.dat @@ -4,3 +4,5 @@ include ../Pixhawk6X/hwdef-bl.dat # prevented from loading the firmware without OpenDroneID enabled APJ_BOARD_ID 10053 +# enable OpenDroneID +define AP_OPENDRONEID_ENABLED 1