From 84b21eed78ea17347b73249c31f5edf58290ddfa Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 6 Aug 2013 11:27:55 +1000 Subject: [PATCH] PX4: fixed test logic for console --- mk/PX4/ROMFS/init.d/rc.APM | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/PX4/ROMFS/init.d/rc.APM b/mk/PX4/ROMFS/init.d/rc.APM index 4d6ca650b8..3d438a5825 100644 --- a/mk/PX4/ROMFS/init.d/rc.APM +++ b/mk/PX4/ROMFS/init.d/rc.APM @@ -176,7 +176,7 @@ else echo "Setting up PX4FMU direct mode" fmu mode_pwm - if [ $BOARD == FMUv1 ] && [ $deviceC == /dev/ttyS1 ] + if [ $BOARD == FMUv1 -a $deviceC == /dev/ttyS1 ] then # ttyS1 is used for PWM output when there # is no IO board