From 31f29df5c348818ed84b0d98c524e61441c910cf Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Mon, 9 Jan 2023 10:51:30 +0000 Subject: [PATCH] Revert "remove null check, since mapping is now down on app side" --- apps/android/boot.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/android/boot.js b/apps/android/boot.js index c650c809c..c5a9dd746 100644 --- a/apps/android/boot.js +++ b/apps/android/boot.js @@ -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() {