This commit is contained in:
bsongis
2014-06-19 10:20:09 +02:00
parent 1560fa8bd9
commit 36395862d1
3 changed files with 7 additions and 3 deletions
+2 -2
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;