diff --git a/apps/speedalt/app.js b/apps/speedalt/app.js index d9d96bd33..cf542e5c6 100644 --- a/apps/speedalt/app.js +++ b/apps/speedalt/app.js @@ -239,17 +239,17 @@ function doBuzz(hasFix) { // fix gained - double buzz if ( !lastBuzz && hasFix ) { if ( dbg ) print('Fix'); + lastBuzz = 1; Bangle.buzz(); timerBuzz2 = setInterval(doBuzz2, 500); // Trigger a second buzz - lastBuzz = 1; return; } // fix lost - single buzz if ( lastBuzz && !hasFix ) { if ( dbg ) print('Fix lost'); - Bangle.buzz(); lastBuzz = 0; + Bangle.buzz(); return; }