walkersclock: don't buzz for GPS fix during Quiet Mode

pull/697/head
Richard de Boer 2021-03-23 19:51:59 +01:00
parent 6e51c1321d
commit 9c3cfc544c
3 changed files with 6 additions and 3 deletions

View File

@ -2850,7 +2850,7 @@
"name": "Walkers Clock",
"shortName":"Walkers Clock",
"icon": "walkersclock48.png",
"version":"0.03",
"version":"0.04",
"description": "A large font watch, displays steps, can switch GPS on/off, displays grid reference",
"type":"clock",
"tags": "clock, gps, tools, outdoors",

View File

@ -1,3 +1,4 @@
0.01: First version of the Walkers Clock
0.02: Fixed screen flicker
0.03: Added display of GPS fix lat/lon and course
0.03: Added display of GPS fix lat/lon and course
0.04: Don't buzz for GPS fix in Quiet Mode

View File

@ -379,7 +379,9 @@ function processFix(fix) {
if (fix.fix) {
if (!last_fix.fix) {
Bangle.buzz(); // buzz on first position
if (!(require('Storage').readJSON('setting.json',1)||{}).quiet) {
Bangle.buzz(); // buzz on first position
}
clearActivityArea = true;
}
gpsState = GPS_RUNNING;