mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-30 12:38:33 -04:00
PX4: fixed startup tone
'start' doesn't work any more
This commit is contained in:
parent
3427224bfc
commit
d45f6e8f1d
@ -134,7 +134,7 @@ else
|
|||||||
then
|
then
|
||||||
set HAVE_PX4IO true
|
set HAVE_PX4IO true
|
||||||
# play happy tune again
|
# play happy tune again
|
||||||
tone_alarm start
|
tone_alarm 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ then
|
|||||||
echo "[init] card mounted at /fs/microsd"
|
echo "[init] card mounted at /fs/microsd"
|
||||||
set HAVE_MICROSD 1
|
set HAVE_MICROSD 1
|
||||||
# Start playing the startup tune
|
# Start playing the startup tune
|
||||||
tone_alarm start
|
tone_alarm 1
|
||||||
else
|
else
|
||||||
set HAVE_MICROSD 0
|
set HAVE_MICROSD 0
|
||||||
echo "Trying format of microSD"
|
echo "Trying format of microSD"
|
||||||
@ -55,7 +55,7 @@ else
|
|||||||
then
|
then
|
||||||
echo "format succeeded"
|
echo "format succeeded"
|
||||||
set HAVE_MICROSD 1
|
set HAVE_MICROSD 1
|
||||||
tone_alarm start
|
tone_alarm 1
|
||||||
else
|
else
|
||||||
echo "mount failed"
|
echo "mount failed"
|
||||||
tone_alarm MNBG
|
tone_alarm MNBG
|
||||||
|
Loading…
Reference in New Issue
Block a user