Cells sensor can now be displayed in PREC1 or even PREC0

This commit is contained in:
bsongis
2015-06-13 23:18:52 +02:00
parent 2d8b43fa9b
commit f4d1389c4d
3 changed files with 15 additions and 1 deletions
+13
View File
@@ -614,3 +614,16 @@ bool TelemetrySensor::isConfigurable()
}
return true;
}
bool TelemetrySensor::isPrecConfigurable()
{
if (isConfigurable()) {
return true;
}
else if (unit == UNIT_CELLS) {
return true;
}
else {
return false;
}
}