waypoints: disable compass for now
parent
65282924db
commit
96cfe5f847
|
|
@ -207,12 +207,14 @@ let arrow = {
|
||||||
let distance = fmt.distance(currentPos, this.waypoint);
|
let distance = fmt.distance(currentPos, this.waypoint);
|
||||||
|
|
||||||
this.north = 0;
|
this.north = 0;
|
||||||
let compass = Bangle.getCompass();
|
if (0) {
|
||||||
if (compass) {
|
let compass = Bangle.getCompass();
|
||||||
let c = compass.heading;
|
if (compass) {
|
||||||
this.north = c;
|
let c = compass.heading;
|
||||||
print("Compass:", c);
|
this.north = c;
|
||||||
this.drawArrow(c, "Up", 1);
|
print("Compass:", c);
|
||||||
|
this.drawArrow(c, "Up", 1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fix.speed && fix.speed > 3)
|
if (fix.speed && fix.speed > 3)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue