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:
parent
774dde3da5
commit
3c8ffa9773
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user