1
0
Fork 0

Merge pull request #2476 from espruino/revert-2472-master

Revert "remove null check, since mapping is now down on app side"
master
Gordon Williams 2023-01-09 10:51:39 +00:00 committed by GitHub
commit 8982d16cb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -134,6 +134,10 @@
event.satellites = NaN;
event.course = NaN;
event.fix = 1;
if (event.long!==undefined) {
event.lon = event.long;
delete event.long;
}
Bangle.emit('GPS', event);
},
"is_gps_active": function() {