Make a distinctive sound when the IO start fails (e.g. due to version mismatch)

This commit is contained in:
Lorenz Meier
2013-08-18 13:57:21 +02:00
parent e5f1a7c2c3
commit 57c5240f02

View File

@@ -53,8 +53,13 @@ commander start
#
# Start PX4IO interface (depends on orb, commander)
#
px4io start
pwm -u 400 -m 0xff
if px4io start
then
pwm -u 400 -m 0xff
else
# SOS
tone_alarm 6
fi
#
# Allow PX4IO to recover from midair restarts.