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:
parent
327a5dcffa
commit
b84799e845
3 changed files with 4 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue