From fdcbbefd6c0f92f0f3e46240d5ced09f8af86fb2 Mon Sep 17 00:00:00 2001 From: Martin Boonk Date: Sun, 6 Nov 2022 18:53:23 +0100 Subject: [PATCH] bthrm - Unset timout variable --- apps/bthrm/lib.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/bthrm/lib.js b/apps/bthrm/lib.js index 652d9ec04..13e8b0383 100644 --- a/apps/bthrm/lib.js +++ b/apps/bthrm/lib.js @@ -109,6 +109,7 @@ exports.enable = () => { if (supportedCharacteristics["0x2a37"].active) stopFallback(); if (bpmTimeout) clearTimeout(bpmTimeout); bpmTimeout = setTimeout(()=>{ + bpmTimeout = undefined; supportedCharacteristics["0x2a37"].active = false; startFallback(); }, 3000);