forked from Archive/PX4-Autopilot
Merge branch 'master' into rssi
This commit is contained in:
commit
cdbbc631f3
|
@ -8,7 +8,6 @@
|
||||||
#
|
#
|
||||||
set MODE autostart
|
set MODE autostart
|
||||||
|
|
||||||
set LOG_FILE /fs/microsd/bootlog.txt
|
|
||||||
set RC_FILE /fs/microsd/etc/rc.txt
|
set RC_FILE /fs/microsd/etc/rc.txt
|
||||||
set CONFIG_FILE /fs/microsd/etc/config.txt
|
set CONFIG_FILE /fs/microsd/etc/config.txt
|
||||||
set EXTRAS_FILE /fs/microsd/etc/extras.txt
|
set EXTRAS_FILE /fs/microsd/etc/extras.txt
|
||||||
|
@ -21,10 +20,12 @@ set TUNE_OUT_ERROR ML<<CP4CP4CP4CP4CP4
|
||||||
echo "[init] Looking for microSD..."
|
echo "[init] Looking for microSD..."
|
||||||
if mount -t vfat /dev/mmcsd0 /fs/microsd
|
if mount -t vfat /dev/mmcsd0 /fs/microsd
|
||||||
then
|
then
|
||||||
|
set LOG_FILE /fs/microsd/bootlog.txt
|
||||||
echo "[init] microSD card mounted at /fs/microsd"
|
echo "[init] microSD card mounted at /fs/microsd"
|
||||||
# Start playing the startup tune
|
# Start playing the startup tune
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
else
|
else
|
||||||
|
set LOG_FILE /dev/null
|
||||||
echo "[init] No microSD card found"
|
echo "[init] No microSD card found"
|
||||||
# Play SOS
|
# Play SOS
|
||||||
tone_alarm error
|
tone_alarm error
|
||||||
|
|
Loading…
Reference in New Issue