pixhawk 2.1 add 2nd ms5611

This commit is contained in:
Daniel Agar 2016-12-03 22:49:11 -05:00 committed by Lorenz Meier
parent 2c23c16b4f
commit a8747a01fe
2 changed files with 5 additions and 0 deletions

View File

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

View File

@ -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));