mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 14:40:34 +08:00
FMUv5: Fix RGB led usage - these are individual status leds.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user