mirror of https://github.com/espruino/BangleApps
skyspy: update the fmt library, should fix lat/lon display
parent
dbbb16b69f
commit
2e5f36d675
|
@ -1,6 +1,6 @@
|
||||||
/* Sky spy */
|
/* Sky spy */
|
||||||
|
|
||||||
/* FIXME: need to switch to latest fmt library */
|
/* fmt library v0.2.3 */
|
||||||
let fmt = {
|
let fmt = {
|
||||||
icon_alt : "\0\x08\x1a\1\x00\x00\x00\x20\x30\x78\x7C\xFE\xFF\x00\xC3\xE7\xFF\xDB\xC3\xC3\xC3\xC3\x00\x00\x00\x00\x00\x00\x00\x00",
|
icon_alt : "\0\x08\x1a\1\x00\x00\x00\x20\x30\x78\x7C\xFE\xFF\x00\xC3\xE7\xFF\xDB\xC3\xC3\xC3\xC3\x00\x00\x00\x00\x00\x00\x00\x00",
|
||||||
icon_m : "\0\x08\x1a\1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xC3\xE7\xFF\xDB\xC3\xC3\xC3\xC3\x00\x00\x00\x00\x00\x00\x00\x00",
|
icon_m : "\0\x08\x1a\1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xC3\xE7\xFF\xDB\xC3\xC3\xC3\xC3\x00\x00\x00\x00\x00\x00\x00\x00",
|
||||||
|
@ -87,6 +87,7 @@ let fmt = {
|
||||||
x = -x;
|
x = -x;
|
||||||
}
|
}
|
||||||
let s = c+this.fmtAngle(x) + "\n";
|
let s = c+this.fmtAngle(x) + "\n";
|
||||||
|
x = pos.lon;
|
||||||
c = "E";
|
c = "E";
|
||||||
if (x<0) {
|
if (x<0) {
|
||||||
c = "W";
|
c = "W";
|
||||||
|
|
Loading…
Reference in New Issue