2013-04-17 15:54:24 -03:00
|
|
|
#!nsh
|
|
|
|
#
|
2014-01-20 08:19:49 -04:00
|
|
|
# Initialize logging services.
|
2013-04-17 15:54:24 -03:00
|
|
|
#
|
|
|
|
|
|
|
|
if [ -d /fs/microsd ]
|
|
|
|
then
|
2014-04-27 12:42:45 -03:00
|
|
|
if ver hwcmp PX4FMU_V1
|
2013-08-25 14:27:11 -03:00
|
|
|
then
|
2015-04-13 13:45:18 -03:00
|
|
|
if sdlog2 start -r 40 -a -b 3 -t
|
|
|
|
then
|
|
|
|
fi
|
2013-08-25 14:27:11 -03:00
|
|
|
else
|
2015-05-15 05:16:21 -03:00
|
|
|
if sdlog2 start -r 100 -a -b 22 -t
|
2015-04-13 13:45:18 -03:00
|
|
|
then
|
|
|
|
fi
|
2013-08-25 14:27:11 -03:00
|
|
|
fi
|
2013-04-17 15:54:24 -03:00
|
|
|
fi
|