Browse Source

ROMFS: don't check for UAVCAN_ENABLE param in SITL

This prevents a warning message being printed to SITL users because the
UAVCAN_ENABLE param does not exist.
sbg
Julian Oes 6 years ago committed by Beat Küng
parent
commit
98857b4b94
  1. 9
      ROMFS/px4fmu_common/init.d/rc.logging

9
ROMFS/px4fmu_common/init.d/rc.logging

@ -4,10 +4,13 @@ @@ -4,10 +4,13 @@
# NOTE: Script variables are declared/initialized/unset in the rcS script.
#
if param greater UAVCAN_ENABLE 1
if ! ver hwcmp PX4_SITL
then
# Reduce logger buffer to free up some RAM for UAVCAN servers.
set LOGGER_BUF 6
if param greater UAVCAN_ENABLE 1
then
# Reduce logger buffer to free up some RAM for UAVCAN servers.
set LOGGER_BUF 6
fi
fi
###############################################################################

Loading…
Cancel
Save