Browse Source

PX4: remove startup tone

master
Jonathan Challinger 7 years ago committed by Andrew Tridgell
parent
commit
c711c8c6bb
  1. 7
      mk/PX4/ROMFS/init.d/rcS
  2. 2
      mk/PX4/ROMFS/init.d/rcS_no_microSD

7
mk/PX4/ROMFS/init.d/rcS

@ -25,13 +25,6 @@ if mount -t vfat /dev/mmcsd0 /fs/microsd @@ -25,13 +25,6 @@ if mount -t vfat /dev/mmcsd0 /fs/microsd
then
echo "[init] card mounted at /fs/microsd"
set HAVE_MICROSD 1
# Start playing the startup tune
if [ -f /etc/tones/startup ]
then
tone_alarm /etc/tones/startup
else
tone_alarm 1
fi
else
set HAVE_MICROSD 0
tone_alarm MNBGG

2
mk/PX4/ROMFS/init.d/rcS_no_microSD

@ -3,8 +3,6 @@ set USB autoconnect @@ -3,8 +3,6 @@ set USB autoconnect
set NSH_ERROR_UART1 /dev/ttyACM0
set NSH_ERROR_UART2 /dev/ttyS0
tone_alarm /etc/tones/startup
if sercon
then
echo "[init] USB interface connected"

Loading…
Cancel
Save