1
0
Fork 0

spacer: More cleanups.

master
Pavel Machek 2025-01-05 18:57:05 +01:00
parent 80065fac88
commit 6b42dbe1a6
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ let sky = {
function start() { function start() {
Bangle.setGPSPower(1); Bangle.setGPSPower(1);
Bangle.on('GPS-raw', function(a, b) { sky.parseRaw(a, b); }); Bangle.on('GPS-raw', (a, b) => sky.parseRaw(a, b));
setTimeout(function() { setTimeout(function() {
Bangle.removeAllListeners('GPS-raw'); Bangle.removeAllListeners('GPS-raw');
}, 1000000); }, 1000000);