packed converter: divisions added

This commit is contained in:
Klaus K Wilting 2018-07-09 21:22:04 +02:00
parent 5ea1de2ab5
commit 3e5f76b439

View File

@ -9,5 +9,10 @@ function Converter(decoded, port) {
converted.pax = converted.ble + converted.wifi; converted.pax = converted.ble + converted.wifi;
} }
if (port === 2) {
converted.voltage /= 1000;
converted.uptime /= 60;
}
return converted; return converted;
} }