Files
PX4-Autopilot/ROMFS/px4fmu_common/init.d/rc.logging
T
2014-04-18 22:05:47 +02:00

17 lines
247 B
Plaintext

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