Cells sensor unit is not modifiable

This commit is contained in:
bsongis
2014-11-09 00:52:22 +01:00
parent 327a5dcffa
commit b84799e845
3 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ void TelemetryItem::setValue(const TelemetrySensor & sensor, int32_t newVal, uin
return;
}
}
newVal = sensor.getValue(newVal, UNIT_VOLTS, prec);
newVal = sensor.getValue(newVal, UNIT_VOLTS, 2);
}
else {
// we didn't receive all cells values