This commit is contained in:
Andre Bernet
2015-07-18 09:13:26 +02:00
parent 895afcc58c
commit cad3b7726d
+1
View File
@@ -641,6 +641,7 @@ void TelemetrySensorPanel::on_formula_currentIndexChanged(int index)
sensor.formula = index;
if (sensor.formula == SensorData::TELEM_FORMULA_CELL) {
sensor.prec = 2;
sensor.unit = SensorData::UNIT_VOLTS;
}
update();
emit modified();