mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 10:26:52 +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)
|
# Start PX4IO interface (depends on orb, commander)
|
||||||
#
|
#
|
||||||
px4io start
|
if px4io start
|
||||||
pwm -u 400 -m 0xff
|
then
|
||||||
|
pwm -u 400 -m 0xff
|
||||||
|
else
|
||||||
|
# SOS
|
||||||
|
tone_alarm 6
|
||||||
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# Allow PX4IO to recover from midair restarts.
|
# Allow PX4IO to recover from midair restarts.
|
||||||
|
|||||||
Reference in New Issue
Block a user