1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 16:55:20 +03:00

Logical Switches V2 multiplier was wrong for Altitude on Sky9x

This commit is contained in:
bsongis 2014-04-04 09:50:04 +02:00
parent 4f7b19ac99
commit 38e6b2f4b6

View file

@ -2049,9 +2049,11 @@ getvalue_t convert16bitsTelemValue(uint8_t channel, ls_telemetry_value_t value)
{
getvalue_t result;
switch (channel) {
#if defined(FRSKY_SPORT)
case TELEM_ALT:
result = value * 100;
break;
#endif
default:
result = value;
break;