diff --git a/libraries/AP_InertialSensor/AP_InertialSensor_PX4.cpp b/libraries/AP_InertialSensor/AP_InertialSensor_PX4.cpp index 96eb33924c..29be4230fe 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor_PX4.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor_PX4.cpp @@ -65,8 +65,10 @@ void AP_InertialSensor_PX4::_set_filter_frequency(uint8_t filter_hz) if (filter_hz == 0) { filter_hz = _default_filter_hz; } - for (uint8_t i=0; i