packed_converter.js: bugfix port 2 time

This commit is contained in:
Verkehrsrot 2019-03-28 21:27:29 +01:00
parent 14d29e11f3
commit abe339f355

View File

@ -18,6 +18,7 @@ function Converter(decoded, port) {
} }
if (port === 2) { if (port === 2) {
if('voltage' in converted)
converted.voltage /= 1000; converted.voltage /= 1000;
} }