Fix #2759: normalize GPS bearing in dialog
This commit is contained in:
parent
096aad963a
commit
1dc80d2386
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@
|
|||
}
|
||||
|
||||
|
||||
dlg.getNode("scratch-mag-bearing-deg", 1).setValue(cd[0] - magvar());
|
||||
dlg.getNode("scratch-mag-bearing-deg", 1).setValue(geo.normdeg(cd[0] - magvar()));
|
||||
dlg.getNode("scratch-distance-nm", 1).setValue(cd[1]);
|
||||
|
||||
gui.dialog_update("gps");
|
||||
|
|
Loading…
Reference in a new issue