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