1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-16 21:05:26 +03:00

300m/s as a max for the vario in Logical Switches

This commit is contained in:
bsongis 2014-06-22 15:23:56 +02:00
parent 4712383523
commit 9f522beac4
2 changed files with 4 additions and 4 deletions

View file

@ -203,8 +203,8 @@ RawSourceRange RawSource::getRange(const ModelData & model, const GeneralSetting
break; break;
case TELEMETRY_SOURCE_VERTICAL_SPEED: case TELEMETRY_SOURCE_VERTICAL_SPEED:
result.step = 0.1; result.step = 0.1;
result.min = singleprec ? -12.5 : -20.0; result.min = singleprec ? -12.5 : -300.0;
result.max = singleprec ? 13.0 : 20.0; result.max = singleprec ? 13.0 : 300.0;
result.decimals = 1; result.decimals = 1;
result.unit = QObject::tr("m/s"); result.unit = QObject::tr("m/s");
break; break;

View file

@ -723,7 +723,7 @@ ls_telemetry_value_t minTelemValue(uint8_t channel)
case TELEM_ACCz: case TELEM_ACCz:
return -1000; return -1000;
case TELEM_VSPEED: case TELEM_VSPEED:
return -200; return -3000;
default: default:
return 0; return 0;
} }
@ -765,7 +765,7 @@ ls_telemetry_value_t maxTelemValue(uint8_t channel)
case TELEM_MIN_VFAS: case TELEM_MIN_VFAS:
return 1000; return 1000;
case TELEM_VSPEED: case TELEM_VSPEED:
return 200; return 3000;
case TELEM_ACCx: case TELEM_ACCx:
case TELEM_ACCy: case TELEM_ACCy:
case TELEM_ACCz: case TELEM_ACCz: