Revert "remove null check, since mapping is now down on app side"

master
Gordon Williams 2023-01-09 10:51:30 +00:00 committed by GitHub
parent 5be0064f16
commit 31f29df5c3
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() {