Skip to content
Snippets Groups Projects
Commit 91abb360 authored by David Sidrane's avatar David Sidrane Committed by Lorenz Meier
Browse files

px4fmu_test:rcS:Use tune_control

parent a2dde6bc
No related branches found
No related tags found
No related merge requests found
......@@ -28,11 +28,11 @@ if [ $? == 0 ]
then
echo "[i] card mounted at /fs/microsd"
# Start playing the startup tune
tone_alarm start
tune_control play -t 1
else
echo "[i] no microSD card found"
# Play SOS
tone_alarm error
tune_control play -t 2
fi
#
......@@ -79,22 +79,22 @@ then
echo "PX4IO CRC OK"
else
echo "PX4IO CRC failure"
tone_alarm MBABGP
tune_control play -t 18
if px4io forceupdate 14662 $io_file
then
if px4io start
then
echo "PX4IO restart OK"
tone_alarm MSPAA
tune_control play -t 19
else
echo "PX4IO restart failed"
tone_alarm MNGGG
tune_control play -t 20
set unit_test_failure 1
set unit_test_failure_list "${unit_test_failure_list} px4io_flash"
fi
else
echo "PX4IO update failed"
tone_alarm MNGGG
tune_control play -t 20
set unit_test_failure 1
set unit_test_failure_list "${unit_test_failure_list} px4io_flash"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment