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

pull/2434/head
Lukas 2022-12-29 15:10:23 +01:00
parent 37d5a3681d
commit e6ce25d6b5
1 changed files with 1 additions and 1 deletions

View File

@ -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 });