mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00: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