From 3ae639f9907689c0cbb99cc7140c646810878fac Mon Sep 17 00:00:00 2001 From: David Peer Date: Wed, 28 Sep 2022 21:52:30 +0200 Subject: [PATCH] Minor changes --- apps/linuxclock/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/linuxclock/app.js b/apps/linuxclock/app.js index 96217779e..749c3369b 100644 --- a/apps/linuxclock/app.js +++ b/apps/linuxclock/app.js @@ -2,7 +2,7 @@ * Includes */ const locale = require('locale'); -const ts = 200; +const ts = 150; /************************************************ * Assets @@ -137,6 +137,10 @@ Bangle.on('lcdPower',on=>{ Bangle.on('lock', function(isLocked) { + if(isLocked){ + return; + } + if (drawTimeout) clearTimeout(drawTimeout); drawTimeout = undefined;