aboutsummaryrefslogtreecommitdiff
path: root/ROMFS/px4fmu_common/init.d/rc.logging
blob: 1791acbee4f0ecef5c986b37e7cde1168b7c5a94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!nsh
#
# Initialise logging services.
#

if [ -d /fs/microsd ]
then
	if hw_ver compare PX4FMU_V1
	then
		echo "Start sdlog2 at 50Hz"
		sdlog2 start -r 50 -a -b 16
	else
		echo "Start sdlog2 at 200Hz"
		sdlog2 start -r 200 -a -b 16
	fi
fi