mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-14 03:49:53 +03:00
Update waypointCollection.js
One other change to stop using P3 as a Boolean.
This commit is contained in:
parent
beaddec2a8
commit
cb7670f049
1 changed files with 2 additions and 1 deletions
|
@ -360,7 +360,8 @@ let WaypointCollection = function () {
|
||||||
}
|
}
|
||||||
altPoint2measure.push(self.getWaypoint(nStart).getAlt());
|
altPoint2measure.push(self.getWaypoint(nStart).getAlt());
|
||||||
namePoint2measure.push(self.getWaypoint(nStart).getLayerNumber()+1);
|
namePoint2measure.push(self.getWaypoint(nStart).getLayerNumber()+1);
|
||||||
refPoint2measure.push(self.getWaypoint(nStart).getP3());
|
let useAbsoluteAlt = (self.getWaypoint(nStart).getP3() & (1 << 0));
|
||||||
|
refPoint2measure.push(useAbsoluteAlt);
|
||||||
nStart++;
|
nStart++;
|
||||||
}
|
}
|
||||||
else if (self.getWaypoint(nStart).getAction() == MWNP.WPTYPE.JUMP) {
|
else if (self.getWaypoint(nStart).getAction() == MWNP.WPTYPE.JUMP) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue