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
+2 -2
View File
@@ -57,8 +57,8 @@ RawSourceRange RawSource::getRange(bool singleprec)
break;
case TELEMETRY_SOURCE_TIMER1:
case TELEMETRY_SOURCE_TIMER2:
result.step = singleprec ? 3 : 1;
result.max = singleprec ? 765 : 7200;
result.step = singleprec ? 5 : 1;
result.max = singleprec ? 255*5 : 7200;
break;
case TELEMETRY_SOURCE_RSSI_TX:
case TELEMETRY_SOURCE_RSSI_RX:
+1 -1
View File
@@ -1994,7 +1994,7 @@ getvalue_t convert8bitsTelemValue(uint8_t channel, ls_telemetry_value_t value)
switch (channel) {
case TELEM_TM1:
case TELEM_TM2:
result = value * 3;
result = value * 5;
break;
#if defined(FRSKY)
case TELEM_ALT: