aboutsummaryrefslogtreecommitdiff
path: root/apps/px4io/px4io.c
diff options
context:
space:
mode:
authorJulian Oes <joes@student.ethz.ch>2012-11-06 19:03:08 -0800
committerJulian Oes <joes@student.ethz.ch>2012-11-06 19:03:08 -0800
commit74f76006029ad6b209c1a409e8e35044b1c53bbb (patch)
tree9266ab3e8fd3fb51ef91a0970cc2b476fe46c2ee /apps/px4io/px4io.c
parent7da799d154f6f3c5f0c1a92cbad4288f83c90650 (diff)
downloadpx4-firmware-74f76006029ad6b209c1a409e8e35044b1c53bbb.tar.gz
px4-firmware-74f76006029ad6b209c1a409e8e35044b1c53bbb.tar.bz2
px4-firmware-74f76006029ad6b209c1a409e8e35044b1c53bbb.zip
Again some hacking to make arming/disarming work for now
Diffstat (limited to 'apps/px4io/px4io.c')
-rw-r--r--apps/px4io/px4io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/px4io/px4io.c b/apps/px4io/px4io.c
index 7039e5d58..7240a80ef 100644
--- a/apps/px4io/px4io.c
+++ b/apps/px4io/px4io.c
@@ -133,8 +133,9 @@ int user_start(int argc, char *argv[])
/* print some simple status */
if (timers[TIMER_STATUS_PRINT] == 0) {
timers[TIMER_STATUS_PRINT] = 1000;
- lib_lowprintf("%c %s | %s | %s | C=%d F=%d B=%d \r",
+ lib_lowprintf("%c %s | %s | %s | %s | C=%d F=%d B=%d \r",
cursor[cycle++ & 3],
+ (system_state.arm_ok ? "FMU_ARMED" : "FMU_SAFE"),
(system_state.armed ? "ARMED" : "SAFE"),
(system_state.rc_channels ? "RC OK" : "NO RC"),
(system_state.mixer_use_fmu ? "FMU OK" : "NO FMU"),