AP_InertialSensor: correct compiler warning

../../libraries/AP_InertialSensor/AP_InertialSensor_Invensense.h:108:14:
warning: private field '_error_count' is not used
[-Wunused-private-field]
    uint16_t _error_count;
This commit is contained in:
Peter Barker 2018-02-28 15:56:15 +11:00 committed by Randy Mackay
parent ea75dd2d59
commit 4288133ce0

View File

@ -105,8 +105,6 @@ private:
uint8_t _gyro_instance;
uint8_t _accel_instance;
uint16_t _error_count;
float temp_sensitivity = 1.0/340; // degC/LSB
float temp_zero = 36.53; // degC