mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 16:23:34 +08:00
sdlog2: Do not abort startup without microSD
This commit is contained in:
committed by
Roman Bapst
parent
3c36a61569
commit
cc0d78b606
@@ -7,10 +7,12 @@ if [ -d /fs/microsd ]
|
|||||||
then
|
then
|
||||||
if ver hwcmp PX4FMU_V1
|
if ver hwcmp PX4FMU_V1
|
||||||
then
|
then
|
||||||
echo "Start sdlog2 at 50Hz"
|
if sdlog2 start -r 40 -a -b 3 -t
|
||||||
sdlog2 start -r 40 -a -b 3 -t
|
then
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "Start sdlog2 at 200Hz"
|
if sdlog2 start -r 200 -a -b 22 -t
|
||||||
sdlog2 start -r 200 -a -b 22 -t
|
then
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -42,6 +42,8 @@ else
|
|||||||
tone_alarm MNBG
|
tone_alarm MNBG
|
||||||
set LOG_FILE /dev/null
|
set LOG_FILE /dev/null
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
set LOG_FILE /dev/null
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user