AP_InertialSensor: fixed vibration logging after recent changes

This commit is contained in:
Andrew Tridgell 2015-10-26 07:26:17 +11:00
parent 3dd47adafe
commit 142aa59bce
1 changed files with 0 additions and 2 deletions

View File

@ -118,9 +118,7 @@ void AP_InertialSensor_Backend::_notify_new_accel_raw_sample(uint8_t instance,
dt = 1.0f / _imu._accel_raw_sample_rates[instance];
#if INS_VIBRATION_CHECK
_imu.calc_vibration_and_clipping(instance, accel, dt);
#endif
// delta velocity
_imu._delta_velocity_acc[instance] += accel * dt;