lpe: fix incorrect setting of local_position.z_global

This commit is contained in:
Paul Riseborough
2017-12-07 08:20:16 +00:00
committed by Lorenz Meier
parent 8d89e5e40b
commit b5be990109
6 changed files with 7 additions and 1 deletions
@@ -365,6 +365,7 @@ private:
// reference altitudes
float _altOrigin;
bool _altOriginInitialized;
bool _altOriginGlobal; // true when the altitude of the origin is defined wrt a global reference frame
float _baroAltOrigin;
float _gpsAltOrigin;