mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-19 21:09:06 +08:00
commander:Removed PX4FMUv1 LED support
This commit is contained in:
parent
acb51aeda3
commit
34cd7563fb
@ -3374,7 +3374,7 @@ control_status_leds(vehicle_status_s *status_local, const actuator_armed_s *actu
|
||||
|
||||
last_overload = overload;
|
||||
|
||||
#if defined (CONFIG_ARCH_BOARD_PX4FMU_V1) || defined (CONFIG_ARCH_BOARD_PX4FMU_V4) || defined (CONFIG_ARCH_BOARD_CRAZYFLIE) || defined (CONFIG_ARCH_BOARD_AEROFC_V1) || defined (CONFIG_ARCH_BOARD_AEROCORE2)
|
||||
#if defined (CONFIG_ARCH_BOARD_PX4FMU_V4) || defined (CONFIG_ARCH_BOARD_CRAZYFLIE) || defined (CONFIG_ARCH_BOARD_AEROFC_V1) || defined (CONFIG_ARCH_BOARD_AEROCORE2)
|
||||
|
||||
/* this runs at around 20Hz, full cycle is 16 ticks = 10/16Hz */
|
||||
if (actuator_armed->armed) {
|
||||
|
||||
@ -280,7 +280,7 @@ int led_init()
|
||||
return PX4_ERROR;
|
||||
}
|
||||
|
||||
/* the blue LED is only available on FMUv1 & AeroCore but not FMUv2 */
|
||||
/* the blue LED is only available on AeroCore but not FMUv2 */
|
||||
(void)h_leds.ioctl(LED_ON, LED_BLUE);
|
||||
|
||||
/* switch blue off */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user