aboutsummaryrefslogtreecommitdiff
path: root/apps/px4io/safety.c
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2012-12-19 14:20:40 +0100
committerLorenz Meier <lm@inf.ethz.ch>2012-12-19 14:20:40 +0100
commitfe6496a04dd0a232bb530f57031cfb4f6e65bb44 (patch)
tree9ea6955d41261ef13887bd60c1ed563dd13b0a3c /apps/px4io/safety.c
parent4676b71d8ade5b9ce27e63f1d204b8ffed58b325 (diff)
downloadpx4-firmware-fe6496a04dd0a232bb530f57031cfb4f6e65bb44.tar.gz
px4-firmware-fe6496a04dd0a232bb530f57031cfb4f6e65bb44.tar.bz2
px4-firmware-fe6496a04dd0a232bb530f57031cfb4f6e65bb44.zip
Correctly do position lock led signalling on IO and position lock measurement on FMU, tested with HIL.
Diffstat (limited to 'apps/px4io/safety.c')
-rw-r--r--apps/px4io/safety.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/px4io/safety.c b/apps/px4io/safety.c
index 780a4331a..3314ef513 100644
--- a/apps/px4io/safety.c
+++ b/apps/px4io/safety.c
@@ -64,7 +64,7 @@ static unsigned counter = 0;
* Define the various LED flash sequences for each system state.
*/
#define LED_PATTERN_SAFE 0xffff /**< always on */
-#define LED_PATTERN_VECTOR_FLIGHT_MODE_OK 0x3000 /**< always on with short break */
+#define LED_PATTERN_VECTOR_FLIGHT_MODE_OK 0xFFFE /**< always on with short break */
#define LED_PATTERN_FMU_ARMED 0x4444 /**< slow blinking */
#define LED_PATTERN_IO_ARMED 0x5555 /**< fast blinking */
#define LED_PATTERN_IO_FMU_ARMED 0x5050 /**< long off then double blink */