From ea49d1cd39eb7fb239f46e1e7b7655599d1f8e58 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 11 Mar 2015 13:44:38 +1100 Subject: [PATCH] AP_InertialSensor: removed unused variable --- libraries/AP_InertialSensor/AP_InertialSensor_Backend.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/AP_InertialSensor/AP_InertialSensor_Backend.cpp b/libraries/AP_InertialSensor/AP_InertialSensor_Backend.cpp index 0bdf6cb7bf..c577061b68 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor_Backend.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor_Backend.cpp @@ -74,7 +74,6 @@ void AP_InertialSensor_Backend::_publish_delta_velocity(uint8_t instance, const */ void AP_InertialSensor_Backend::_publish_accel(uint8_t instance, const Vector3f &accel, bool rotate_and_correct) { - const Vector3f &accel_scale = _imu._accel_scale[instance].get(); _imu._accel[instance] = accel; _imu._accel_healthy[instance] = true;