From 53447177493db66eee682bbd96bef292073a96ee Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Sat, 12 Oct 2019 22:29:33 -0700 Subject: [PATCH] slow down device poller --- libs/core/input.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/core/input.ts b/libs/core/input.ts index 019fd449..7e78e2eb 100644 --- a/libs/core/input.ts +++ b/libs/core/input.ts @@ -121,7 +121,7 @@ namespace sensors.internal { powerMM = control.mmap("/dev/lms_power", 2, 0) - devPoller = new Poller(250, () => { return hashDevices(); }, + devPoller = new Poller(500, () => { return hashDevices(); }, (prev, curr) => { detectDevices(); });