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

Issue #182 fixed

This commit is contained in:
Bertrand Songis 2014-02-16 10:21:28 +01:00
parent 79e86c249a
commit d02d78101c
2 changed files with 3 additions and 3 deletions

View file

@ -57,8 +57,8 @@ RawSourceRange RawSource::getRange(bool singleprec)
break; break;
case TELEMETRY_SOURCE_TIMER1: case TELEMETRY_SOURCE_TIMER1:
case TELEMETRY_SOURCE_TIMER2: case TELEMETRY_SOURCE_TIMER2:
result.step = singleprec ? 3 : 1; result.step = singleprec ? 5 : 1;
result.max = singleprec ? 765 : 7200; result.max = singleprec ? 255*5 : 7200;
break; break;
case TELEMETRY_SOURCE_RSSI_TX: case TELEMETRY_SOURCE_RSSI_TX:
case TELEMETRY_SOURCE_RSSI_RX: case TELEMETRY_SOURCE_RSSI_RX:

View file

@ -1994,7 +1994,7 @@ getvalue_t convert8bitsTelemValue(uint8_t channel, ls_telemetry_value_t value)
switch (channel) { switch (channel) {
case TELEM_TM1: case TELEM_TM1:
case TELEM_TM2: case TELEM_TM2:
result = value * 3; result = value * 5;
break; break;
#if defined(FRSKY) #if defined(FRSKY)
case TELEM_ALT: case TELEM_ALT: