diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-03 03:42:00 -0700 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-03 03:42:00 -0700 |
commit | 55cae08cf37c2a67f1ef357f205d2ee5e3208655 (patch) | |
tree | 915fbd0d58697bb8dac62b663aa7816fb828ebd4 /ROMFS/px4fmu_common/init.d/rcS | |
parent | 5199dea2b3580f42bb0c9ac02e2c3e7711cda2ff (diff) | |
parent | 85ac2796a0f6639b279ab0b7476c98c7a7d551a7 (diff) | |
download | px4-firmware-55cae08cf37c2a67f1ef357f205d2ee5e3208655.tar.gz px4-firmware-55cae08cf37c2a67f1ef357f205d2ee5e3208655.tar.bz2 px4-firmware-55cae08cf37c2a67f1ef357f205d2ee5e3208655.zip |
Merge pull request #868 from ufoncz/versioncmd
Versioncmd
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rcS')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rcS | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 492afcb4c..756ee8ef8 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -248,7 +248,7 @@ then echo "[init] ERROR: PX4IO not found, disabling output" # Avoid using ttyS0 for MAVLink on FMUv1 - if hw_ver compare PX4FMU_V1 + if ver hwcmp PX4FMU_V1 then set FMU_MODE serial fi @@ -262,7 +262,7 @@ then if [ $HIL == yes ] then set OUTPUT_MODE hil - if hw_ver compare PX4FMU_V1 + if ver hwcmp PX4FMU_V1 then set FMU_MODE serial fi @@ -308,7 +308,7 @@ then tone_alarm $TUNE_OUT_ERROR fi - if hw_ver compare PX4FMU_V1 + if ver hwcmp PX4FMU_V1 then if [ $FMU_MODE == pwm -o $FMU_MODE == gpio ] then @@ -383,7 +383,7 @@ then tone_alarm $TUNE_OUT_ERROR fi - if hw_ver compare PX4FMU_V1 + if ver hwcmp PX4FMU_V1 then if [ $FMU_MODE == pwm -o $FMU_MODE == gpio ] then |