mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 12:41:36 +08:00
Commander:Support BOARD_INDICATE_ARMED_STATE for HW that supports external armed indiction
This commit is contained in:
committed by
Daniel Agar
parent
bf8a5e9652
commit
477152a96d
@@ -2699,6 +2699,10 @@ control_status_leds(vehicle_status_s *status_local, const actuator_armed_s *actu
|
|||||||
|
|
||||||
last_overload = overload;
|
last_overload = overload;
|
||||||
|
|
||||||
|
/* board supports HW armed indicator */
|
||||||
|
|
||||||
|
BOARD_INDICATE_ARMED_STATE(actuator_armed->armed);
|
||||||
|
|
||||||
#if !defined(CONFIG_ARCH_LEDS) && defined(BOARD_HAS_CONTROL_STATUS_LEDS)
|
#if !defined(CONFIG_ARCH_LEDS) && defined(BOARD_HAS_CONTROL_STATUS_LEDS)
|
||||||
|
|
||||||
/* this runs at around 20Hz, full cycle is 16 ticks = 10/16Hz */
|
/* this runs at around 20Hz, full cycle is 16 ticks = 10/16Hz */
|
||||||
|
|||||||
Reference in New Issue
Block a user