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
+6 -3
View File
@@ -185,9 +185,12 @@ then
else
echo "PX4IO restart failed"
echo "PX4IO restart failed" >> $logfile
tone_alarm MNGGG
sleep 10
reboot
if hw_ver compare PX4FMU_V2
then
tone_alarm MNGGG
sleep 10
reboot
fi
fi
else
echo "PX4IO update failed"