packed_converter.js: bugfix port 2 time
This commit is contained in:
1 parent
14d29e11f3
commit
abe339f355
1 file changed
+1
@@ -18,6 +18,7 @@ function Converter(decoded, port) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (port === 2) {
|
if (port === 2) {
|
||||||
|
if('voltage' in converted)
|
||||||
converted.voltage /= 1000;
|
converted.voltage /= 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user