From 4d2f72575bc2793390a5695100b33ae20a0d82f3 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 16 Jul 2019 01:26:25 +0300 Subject: [PATCH] Fixed multiple sensor bug (#868) --- libs/core/input.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/core/input.ts b/libs/core/input.ts index e8e923a3..27d3c160 100644 --- a/libs/core/input.ts +++ b/libs/core/input.ts @@ -207,7 +207,7 @@ namespace sensors.internal { constructor(port: number) { super(port) this.mode = 0 - this.realmode = -1 + this.realmode = 0 } _activated() { @@ -513,4 +513,4 @@ namespace sensors { } } } -} \ No newline at end of file +}