1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 09:45:21 +03:00

Cells sensor unit is not modifiable

This commit is contained in:
bsongis 2014-11-09 00:31:54 +01:00
parent 327a5dcffa
commit b84799e845
3 changed files with 4 additions and 6 deletions

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