aboutsummaryrefslogblamecommitdiff
path: root/ROMFS/px4fmu_common/init.d/rc.logging
blob: 3469d5f5f54dabd861fa1ac5fd188b24ea490a3f (plain) (tree)
1
2
3
4
5
6
7
8
9

     
                              



                     
                              
            
                                           
                                             
            
                                            
                                               
          
  
#!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 8 -t
	else
		echo "Start sdlog2 at 200Hz"
		sdlog2 start -r 200 -a -b 16 -t
	fi
fi