PX4: fixed test logic for console

This commit is contained in:
Andrew Tridgell 2013-08-06 11:27:55 +10:00
parent 1853223f45
commit 84b21eed78

View File

@ -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