diff --git a/ArduCopterMega/Attitude.pde b/ArduCopterMega/Attitude.pde index 77e39f294c..46ffa4a108 100644 --- a/ArduCopterMega/Attitude.pde +++ b/ArduCopterMega/Attitude.pde @@ -150,7 +150,8 @@ void output_rate_control() // Keeps outdated data out of our calculations void reset_I(void) { - pid_nav.reset_I(); + pid_nav_lat.reset_I(); + pid_nav_lon.reset_I(); pid_baro_throttle.reset_I(); pid_sonar_throttle.reset_I(); }