diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-08 23:08:06 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-08 23:08:06 +0100 |
commit | 6149f8365cdd2d13736a937dda6f31887979460d (patch) | |
tree | ccba9b5cd3460b3a4295dd76105c79fd1e961e8d /ROMFS | |
parent | 9ff932daf62523ba4c8212f64ab76544b597e602 (diff) | |
download | px4-firmware-6149f8365cdd2d13736a937dda6f31887979460d.tar.gz px4-firmware-6149f8365cdd2d13736a937dda6f31887979460d.tar.bz2 px4-firmware-6149f8365cdd2d13736a937dda6f31887979460d.zip |
Fix test script
Diffstat (limited to 'ROMFS')
-rw-r--r-- | ROMFS/px4fmu_test/init.d/rcS | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ROMFS/px4fmu_test/init.d/rcS b/ROMFS/px4fmu_test/init.d/rcS index 1c66552f9..a0f5bd098 100644 --- a/ROMFS/px4fmu_test/init.d/rcS +++ b/ROMFS/px4fmu_test/init.d/rcS @@ -111,8 +111,8 @@ then fi adc start -hmc5883 -I -S start -if [ $? != 0 ] +# XXX this syntax is not quite right, but if takes no flags (yet) +if [ hmc5883 -I -S start ] then # This is an FMUv1 or FMUv2 echo "FMUv2 (or FMUv3 where 'hmc5883 -I -S start' failed)" |