mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
Proper rounding for values that are scaled down. Displayed and spoken values affected.
Example: value 3.47V was spoken as 3.4V, new spoken value is 3.5V
This commit is contained in:
parent
32090b8bbe
commit
e5cbba4ee2
14 changed files with 44 additions and 18 deletions
|
@ -1514,6 +1514,9 @@ getvalue_t convertCswTelemValue(LogicalSwitchData * cs);
|
|||
lcdint_t applyChannelRatio(uint8_t channel, lcdint_t val);
|
||||
#endif
|
||||
|
||||
getvalue_t div10_and_round(getvalue_t value);
|
||||
|
||||
|
||||
#if defined(FRSKY)
|
||||
NOINLINE uint8_t getRssiAlarmValue(uint8_t alarm);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue