Fix #2485
This commit is contained in:
@@ -641,6 +641,7 @@ void TelemetrySensorPanel::on_formula_currentIndexChanged(int index)
|
|||||||
sensor.formula = index;
|
sensor.formula = index;
|
||||||
if (sensor.formula == SensorData::TELEM_FORMULA_CELL) {
|
if (sensor.formula == SensorData::TELEM_FORMULA_CELL) {
|
||||||
sensor.prec = 2;
|
sensor.prec = 2;
|
||||||
|
sensor.unit = SensorData::UNIT_VOLTS;
|
||||||
}
|
}
|
||||||
update();
|
update();
|
||||||
emit modified();
|
emit modified();
|
||||||
|
|||||||
Reference in New Issue
Block a user