waypoints: disable compass for now

master
Pavel Machek 2024-12-08 17:33:20 +01:00
parent 65282924db
commit 96cfe5f847
1 changed files with 8 additions and 6 deletions

View File

@ -207,12 +207,14 @@ let arrow = {
let distance = fmt.distance(currentPos, this.waypoint);
this.north = 0;
let compass = Bangle.getCompass();
if (compass) {
let c = compass.heading;
this.north = c;
print("Compass:", c);
this.drawArrow(c, "Up", 1);
if (0) {
let compass = Bangle.getCompass();
if (compass) {
let c = compass.heading;
this.north = c;
print("Compass:", c);
this.drawArrow(c, "Up", 1);
}
}
if (fix.speed && fix.speed > 3)