mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 10:26:52 +08:00
Fix test script
This commit is contained in:
@@ -111,8 +111,8 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
adc start
|
adc start
|
||||||
hmc5883 -I -S start
|
# XXX this syntax is not quite right, but if takes no flags (yet)
|
||||||
if [ $? != 0 ]
|
if [ hmc5883 -I -S start ]
|
||||||
then
|
then
|
||||||
# This is an FMUv1 or FMUv2
|
# This is an FMUv1 or FMUv2
|
||||||
echo "FMUv2 (or FMUv3 where 'hmc5883 -I -S start' failed)"
|
echo "FMUv2 (or FMUv3 where 'hmc5883 -I -S start' failed)"
|
||||||
|
|||||||
Reference in New Issue
Block a user