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