mirror of https://github.com/espruino/BangleApps
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
parent
37d5a3681d
commit
e6ce25d6b5
|
@ -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 });
|
||||
|
|
Loading…
Reference in New Issue