mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 05:01:37 +08:00
hw_ver app added for hardware version checking
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user