1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-17 05:15:18 +03:00
This commit is contained in:
bsongis 2014-06-19 10:19:52 +02:00
parent 1560fa8bd9
commit 36395862d1
3 changed files with 7 additions and 3 deletions

View file

@ -174,8 +174,8 @@ RawSourceRange RawSource::getRange(bool singleprec)
case TELEMETRY_SOURCE_ASPEED_MAX:
case TELEMETRY_SOURCE_SPEED:
case TELEMETRY_SOURCE_SPEED_MAX:
result.step = singleprec ? 1 : 1;
result.max = singleprec ? (1*255) : 2000;
result.step = singleprec ? 2 : 1;
result.max = singleprec ? (2*255) : 2000;
if (model && !model->frsky.imperial) {
result.step *= 1.852;
result.max *= 1.852;