diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-10-08 09:12:03 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-10-08 09:12:03 +0200 |
commit | 69fda8a05908a4871756b91ba68d84ff18a37bcc (patch) | |
tree | 4ca60952b01bfa6b5385a39ffe4b616e3001d328 /ROMFS/px4fmu_common/init.d/cmp_test | |
parent | 81e9c06129ff96508377777ab3a405977c873357 (diff) | |
download | px4-firmware-69fda8a05908a4871756b91ba68d84ff18a37bcc.tar.gz px4-firmware-69fda8a05908a4871756b91ba68d84ff18a37bcc.tar.bz2 px4-firmware-69fda8a05908a4871756b91ba68d84ff18a37bcc.zip |
Added useful default gains
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/cmp_test')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/cmp_test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/cmp_test b/ROMFS/px4fmu_common/init.d/cmp_test new file mode 100644 index 000000000..f86f4f85b --- /dev/null +++ b/ROMFS/px4fmu_common/init.d/cmp_test @@ -0,0 +1,9 @@ +#!nsh + +cp /etc/extras/px4io-v2_default.bin /fs/microsd/px4io.loaded +if cmp /etc/extras/px4io-v2_default.bin /fs/microsd/px4io.loaded +then + echo "CMP returned true" +else + echo "CMP returned false" +fi
\ No newline at end of file |