Skip to content

Commit

Permalink
AP_Periph: fix arm_update_status missing update
Browse files Browse the repository at this point in the history
This flag was never getting set to true

OV3-1027
  • Loading branch information
robertlong13 authored and Pradeep-Carbonix committed Dec 6, 2023
1 parent 7f2a17e commit d9da9cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tools/AP_Periph/can.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,9 @@ static void handle_arming_status(CanardInstance* ins, CanardRxTransfer* transfer
return;
}
hal.util->set_soft_armed(req.status == UAVCAN_EQUIPMENT_SAFETY_ARMINGSTATUS_STATUS_FULLY_ARMED);
#ifdef HAL_PERIPH_ARM_MONITORING_ENABLE
periph.arm_update_status = true;
#endif
}

#ifdef HAL_PERIPH_ENABLE_GPS
Expand Down

0 comments on commit d9da9cc

Please sign in to comment.