From e6ce25d6b5fb0a392cfa3f9da74ee08814111068 Mon Sep 17 00:00:00 2001 From: Lukas Date: Thu, 29 Dec 2022 15:10:23 +0100 Subject: [PATCH] change event name to match the event name of the normal GPS event, which is being used by the gps chip of the banglejs device --- apps/android/boot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/android/boot.js b/apps/android/boot.js index 10e245eae..b05bf5925 100644 --- a/apps/android/boot.js +++ b/apps/android/boot.js @@ -137,7 +137,7 @@ event.lon = event.long; delete event.long; - Bangle.emit('gps', event); + Bangle.emit('GPS', event); }, "is_gps_active": function() { gbSend({ t: "gps_power", status: Bangle._PWR && Bangle._PWR.GPS && Bangle._PWR.GPS.length>0 });