mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
Logical Switches V2 multiplier was wrong for Altitude on Sky9x
This commit is contained in:
parent
4f7b19ac99
commit
38e6b2f4b6
1 changed files with 2 additions and 0 deletions
|
@ -2049,9 +2049,11 @@ getvalue_t convert16bitsTelemValue(uint8_t channel, ls_telemetry_value_t value)
|
||||||
{
|
{
|
||||||
getvalue_t result;
|
getvalue_t result;
|
||||||
switch (channel) {
|
switch (channel) {
|
||||||
|
#if defined(FRSKY_SPORT)
|
||||||
case TELEM_ALT:
|
case TELEM_ALT:
|
||||||
result = value * 100;
|
result = value * 100;
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
result = value;
|
result = value;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue