Browse Source

pixhawk 2.1 add 2nd ms5611

sbg
Daniel Agar 8 years ago committed by Lorenz Meier
parent
commit
a8747a01fe
  1. 4
      ROMFS/px4fmu_common/init.d/rc.sensors
  2. 1
      src/modules/sensors/sensors.cpp

4
ROMFS/px4fmu_common/init.d/rc.sensors

@ -38,6 +38,10 @@ else @@ -38,6 +38,10 @@ else
fmu sensor_reset 50
fi
if ms5611 -S start
then
fi
if ms5611 -s start
then
fi

1
src/modules/sensors/sensors.cpp

@ -619,6 +619,7 @@ Sensors::Sensors() : @@ -619,6 +619,7 @@ Sensors::Sensors() :
_vibration_warning_timestamp(0),
_vibration_warning(false)
{
_baro.voter.set_timeout(300000);
_mag.voter.set_timeout(300000);
memset(&_rc, 0, sizeof(_rc));

Loading…
Cancel
Save