mirror of
https://github.com/opentx/opentx.git
synced 2025-07-17 05:15:18 +03:00
Fixes #1311
This commit is contained in:
parent
1560fa8bd9
commit
36395862d1
3 changed files with 7 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue