Skip to content
Snippets Groups Projects
Commit f87fa913 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

FMUv5: Fix RGB led usage - these are individual status leds.

parent 02eaf2ce
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,8 @@ set(config_module_list
drivers/px4fmu
drivers/px4io
drivers/rgbled
drivers/rgbled_pwm
# Enable the line below to put the three leds into PWM RGB mode
#drivers/rgbled_pwm
drivers/stm32
drivers/stm32/adc
drivers/stm32/tone_alarm
......
......@@ -288,6 +288,9 @@ int led_init()
return PX4_ERROR;
}
/* the green LED is only available on FMUv5 */
(void)h_leds.ioctl(LED_ON, LED_GREEN);
/* the blue LED is only available on AeroCore but not FMUv2 */
(void)h_leds.ioctl(LED_ON, LED_BLUE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment