Skip to content

Commit

Permalink
Tools: Bug fix Arm check timeout on Periph
Browse files Browse the repository at this point in the history
  • Loading branch information
loki077 committed Nov 23, 2023
1 parent c7c1cd5 commit dd6c125
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions Tools/AP_Periph/AP_Periph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <AP_HAL/AP_HAL_Boards.h>
#include "AP_Periph.h"
#include <stdio.h>
#include <dronecan_msgs.h>

#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
#include <AP_HAL_ChibiOS/hwdef/common/stm32_util.h>
Expand Down
3 changes: 3 additions & 0 deletions Tools/AP_Periph/AP_Periph.h
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
4 changes: 4 additions & 0 deletions Tools/AP_Periph/Parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dd6c125

Please sign in to comment.