Update gps-info.js

Leave GPS power switched on on exit (will switch off after 0.5 seconds anyway).
pull/1226/head
Hilmar Strauch 2022-01-06 11:04:14 +01:00 committed by GitHub
parent f6e374838f
commit f59e97c5fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -132,9 +132,6 @@ Bangle.on('GPS', onGPS);
Bangle.on('GPS-raw', onGPSraw);
function exitApp() {
Bangle.setGPSPower(0, "app");
Bangle.removeListener('GPS-raw', onGPSraw);
Bangle.removeListener('GPS', onGPS);
load();
}