mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 17:38:32 -04:00
PX4: fixed test logic for console
This commit is contained in:
parent
1853223f45
commit
84b21eed78
@ -176,7 +176,7 @@ else
|
|||||||
|
|
||||||
echo "Setting up PX4FMU direct mode"
|
echo "Setting up PX4FMU direct mode"
|
||||||
fmu mode_pwm
|
fmu mode_pwm
|
||||||
if [ $BOARD == FMUv1 ] && [ $deviceC == /dev/ttyS1 ]
|
if [ $BOARD == FMUv1 -a $deviceC == /dev/ttyS1 ]
|
||||||
then
|
then
|
||||||
# ttyS1 is used for PWM output when there
|
# ttyS1 is used for PWM output when there
|
||||||
# is no IO board
|
# is no IO board
|
||||||
|
Loading…
Reference in New Issue
Block a user