From 49f43f5dff9dd7704ff72959025acbb87a205ab9 Mon Sep 17 00:00:00 2001 From: Michal Szafranski Date: Wed, 13 Nov 2019 22:33:47 +0100 Subject: [PATCH] Unified 9.6 max voltage values --- src/controlplushub.ts | 1 - src/puphub.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/controlplushub.ts b/src/controlplushub.ts index b96b0c4..03298e9 100644 --- a/src/controlplushub.ts +++ b/src/controlplushub.ts @@ -32,7 +32,6 @@ export class ControlPlusHub extends LPF2Hub { protected _currentPort = 0x3b; protected _voltagePort = 0x3c; - protected _voltageMaxV = 9.615; protected _voltageMaxRaw = 4095; constructor (device: IBLEDevice, autoSubscribe: boolean = true) { diff --git a/src/puphub.ts b/src/puphub.ts index a59bf72..a305511 100644 --- a/src/puphub.ts +++ b/src/puphub.ts @@ -33,7 +33,6 @@ export class PUPHub extends LPF2Hub { protected _currentPort = 0x3b; protected _voltagePort = 0x3c; - protected _voltageMaxV = 9.62; constructor (device: IBLEDevice, autoSubscribe: boolean = true) { super(device, autoSubscribe);