AP_InertialSensor_PX4: don't set QUEUEDEPTH

the default of 2 samples is fine
This commit is contained in:
Andrew Tridgell 2013-09-09 08:26:03 +10:00
parent db14a85fc5
commit 396c4f30d2
1 changed files with 0 additions and 5 deletions

View File

@ -60,11 +60,6 @@ uint16_t AP_InertialSensor_PX4::_init_sensor( Sample_rate sample_rate )
ioctl(_gyro_fd, GYROIOCSSAMPLERATE, driver_rate);
ioctl(_gyro_fd, SENSORIOCSPOLLRATE, driver_rate);
// ask for a 1 sample buffer. We're really only interested in the
// latest sample as the driver is doing the filtering for us
ioctl(_accel_fd, SENSORIOCSQUEUEDEPTH, 1);
ioctl(_gyro_fd, SENSORIOCSQUEUEDEPTH, 1);
_set_filter_frequency(_mpu6000_filter);
#if defined(CONFIG_ARCH_BOARD_PX4FMU_V2)