mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 09:26:25 +08:00
Make a distinctive sound when the IO start fails (e.g. due to version mismatch)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user