hw_ver app added for hardware version checking

This commit is contained in:
Anton Babushkin
2014-01-07 21:56:35 +01:00
parent 94b539dfdd
commit 255d91d8d4
14 changed files with 144 additions and 16 deletions
+3 -1
View File
@@ -5,10 +5,12 @@
if [ -d /fs/microsd ]
then
if [ $BOARD == fmuv1 ]
if hw_ver compare PX4FMU_V1
then
echo "Start sdlog2 at 50Hz"
sdlog2 start -r 50 -a -b 16
else
echo "Start sdlog2 at 200Hz"
sdlog2 start -r 200 -a -b 16
fi
fi