added reset I functions for new pids

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1484 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
jasonshort 2011-01-11 21:12:57 +00:00
parent 5d728c0530
commit 5d1df69f13
1 changed files with 2 additions and 1 deletions

View File

@ -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();
}