From abe339f355ddff257b42c81ffb5cc5cd73658781 Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Thu, 28 Mar 2019 21:27:29 +0100 Subject: [PATCH] packed_converter.js: bugfix port 2 time --- src/TTN/packed_converter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TTN/packed_converter.js b/src/TTN/packed_converter.js index 7548e3ce..0d691a9b 100644 --- a/src/TTN/packed_converter.js +++ b/src/TTN/packed_converter.js @@ -18,6 +18,7 @@ function Converter(decoded, port) { } if (port === 2) { + if('voltage' in converted) converted.voltage /= 1000; }