AP_InertialSensor new API bugfix for copter