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

This commit is contained in:
Lorenz Meier
2018-06-06 22:45:16 +02:00
parent 02eaf2ce28
commit f87fa9131b
2 changed files with 5 additions and 1 deletions
@@ -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);