diff --git a/Tools/AP_Periph/AP_Periph.cpp b/Tools/AP_Periph/AP_Periph.cpp index 446078ba0f..3f61511a59 100644 --- a/Tools/AP_Periph/AP_Periph.cpp +++ b/Tools/AP_Periph/AP_Periph.cpp @@ -24,6 +24,7 @@ #include #include "AP_Periph.h" #include +#include #if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS #include diff --git a/Tools/AP_Periph/AP_Periph.h b/Tools/AP_Periph/AP_Periph.h index f3908cf35c..c885f26f8e 100644 --- a/Tools/AP_Periph/AP_Periph.h +++ b/Tools/AP_Periph/AP_Periph.h @@ -266,6 +266,9 @@ class AP_Periph_FW { #if HAL_GCS_ENABLED GCS_Periph _gcs; +#endif +#ifdef HAL_PERIPH_ARM_MONITORING_ENABLE + bool arm_update_status; #endif // setup the var_info table AP_Param param_loader{var_info}; diff --git a/Tools/AP_Periph/Parameters.h b/Tools/AP_Periph/Parameters.h index c0671e5873..ff6413f926 100644 --- a/Tools/AP_Periph/Parameters.h +++ b/Tools/AP_Periph/Parameters.h @@ -153,6 +153,10 @@ class Parameters { AP_Int16 sysid_this_mav; #endif +#ifdef HAL_PERIPH_ARM_MONITORING_ENABLE + AP_Int32 disarm_delay; +#endif + #ifdef HAL_PERIPH_ENABLE_EFI AP_Int32 efi_baudrate; AP_Int8 efi_port;