You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!nsh |
|
# |
|
# Initialize logging services. |
|
# |
|
|
|
if [ -d /fs/microsd ] |
|
then |
|
if ver hwcmp PX4FMU_V1 |
|
then |
|
echo "Start sdlog2 at 50Hz" |
|
sdlog2 start -r 50 -a -b 4 -t |
|
else |
|
echo "Start sdlog2 at 200Hz" |
|
sdlog2 start -r 200 -a -b 22 -t |
|
fi |
|
fi
|
|
|