mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 19:23:35 +08:00
Fix led assignment for FMU
This commit is contained in:
@@ -47,9 +47,9 @@
|
|||||||
#define _LED_BASE 0x2800
|
#define _LED_BASE 0x2800
|
||||||
|
|
||||||
/* PX4 LED colour codes */
|
/* PX4 LED colour codes */
|
||||||
#define LED_AMBER 0
|
#define LED_AMBER 1
|
||||||
#define LED_RED 0 /* some boards have red rather than amber */
|
#define LED_RED 1 /* some boards have red rather than amber */
|
||||||
#define LED_BLUE 1
|
#define LED_BLUE 0
|
||||||
#define LED_SAFETY 2
|
#define LED_SAFETY 2
|
||||||
|
|
||||||
#define LED_ON _IOC(_LED_BASE, 0)
|
#define LED_ON _IOC(_LED_BASE, 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user