This commit is contained in:
treymarc 2014-04-17 20:45:09 +00:00
parent 5468a9cfa0
commit e39636cc00
1 changed files with 2 additions and 1 deletions

View File

@ -409,7 +409,8 @@ int getEstimatedAltitude(void)
// D
BaroPID -= constrain(cfg.D8[PIDVEL] * (accZ_tmp + accZ_old) / 64, -150, 150);
accZ_old = accZ_tmp;
accZ_old = accZ_tmp;
return 1;
}
#endif /* BARO */