1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-26 01:35:16 +03:00

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

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;
}
}