Commander:Support BOARD_INDICATE_ARMED_STATE for HW that supports external armed indiction

This commit is contained in:
David Sidrane 2019-02-12 04:01:36 -08:00 committed by Daniel Agar
parent bf8a5e9652
commit 477152a96d

View File

@ -2699,6 +2699,10 @@ control_status_leds(vehicle_status_s *status_local, const actuator_armed_s *actu
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)
/* this runs at around 20Hz, full cycle is 16 ticks = 10/16Hz */