1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

Revert "When in indoor mode reset the baro offset to zero"

This reverts commit 9c512261e6.
This commit is contained in:
Corvus Corax 2012-11-06 09:42:14 +01:00
parent 774dde3da5
commit 3c8ffa9773

View File

@ -785,7 +785,6 @@ static int32_t updateAttitudeINSGPS(bool first_run, bool outdoor_mode)
NEDPositionSet(&nedPos);
} else if (!outdoor_mode) {
baroOffset = 0;
INSSetPosVelVar(1e2f, 1e2f);
vel[0] = vel[1] = vel[2] = 0;
NED[0] = NED[1] = 0;