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:
parent
2d8b43fa9b
commit
f4d1389c4d
3 changed files with 15 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue