diff options
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rc.logging')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.logging | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.logging b/ROMFS/px4fmu_common/init.d/rc.logging index a14eb5247..454af8da7 100644 --- a/ROMFS/px4fmu_common/init.d/rc.logging +++ b/ROMFS/px4fmu_common/init.d/rc.logging @@ -7,10 +7,12 @@ if [ -d /fs/microsd ] then if ver hwcmp PX4FMU_V1 then - echo "Start sdlog2 at 50Hz" - sdlog2 start -r 40 -a -b 3 -t + if sdlog2 start -r 40 -a -b 3 -t + then + fi else - echo "Start sdlog2 at 200Hz" - sdlog2 start -r 200 -a -b 22 -t + if sdlog2 start -r 200 -a -b 22 -t + then + fi fi fi |