diff options
Diffstat (limited to 'ROMFS/px4fmu_common')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.logging | 10 | ||||
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rcS | 2 |
2 files changed, 8 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 diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 0a8774b30..2d3722f08 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -42,6 +42,8 @@ else tone_alarm MNBG set LOG_FILE /dev/null fi + else + set LOG_FILE /dev/null fi fi |