format
This commit is contained in:
parent
5468a9cfa0
commit
e39636cc00
|
@ -410,6 +410,7 @@ int getEstimatedAltitude(void)
|
||||||
// D
|
// D
|
||||||
BaroPID -= constrain(cfg.D8[PIDVEL] * (accZ_tmp + accZ_old) / 64, -150, 150);
|
BaroPID -= constrain(cfg.D8[PIDVEL] * (accZ_tmp + accZ_old) / 64, -150, 150);
|
||||||
accZ_old = accZ_tmp;
|
accZ_old = accZ_tmp;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
#endif /* BARO */
|
#endif /* BARO */
|
||||||
|
|
Loading…
Reference in New Issue