px4-firmware/ROMFS/px4fmu_common/init.d/rc.logging

19 lines
208 B
Plaintext

#!nsh
#
# Initialize logging services.
#
if [ -d /fs/microsd ]
then
if ver hwcmp PX4FMU_V1
then
if sdlog2 start -r 40 -a -b 3 -t
then
fi
else
if sdlog2 start -r 200 -a -b 22 -t
then
fi
fi
fi