100mAh will be now the step for telemetry bars (and logical switches on

stock 9x)
This commit is contained in:
bsongis
2014-05-05 16:35:41 +02:00
parent f178748090
commit f3f9f46742
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -200,8 +200,8 @@ RawSourceRange RawSource::getRange(bool singleprec)
result.decimals = 1;
break;
case TELEMETRY_SOURCE_CONSUMPTION:
result.step = singleprec ? 40 : 1;
result.max = singleprec ? 10200 : 10000;
result.step = singleprec ? 100 : 1;
result.max = singleprec ? 25500 : 10000;
break;
case TELEMETRY_SOURCE_POWER:
case TELEMETRY_SOURCE_POWER_MAX:
+1 -1
View File
@@ -2151,7 +2151,7 @@ getvalue_t convert8bitsTelemValue(uint8_t channel, ls_telemetry_value_t value)
result = value * 5;
break;
case TELEM_CONSUMPTION:
result = value * 40;
result = value * 100;
break;
case TELEM_VSPEED:
result = ((getvalue_t)value - 125) * 10;