mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
A1- A2- A3- A4- min/max wrong in Logical Switches (Companion)
This commit is contained in:
parent
40a391d778
commit
8d6ab5c123
1 changed files with 7 additions and 0 deletions
|
@ -132,6 +132,13 @@ RawSourceRange RawSource::getRange(const ModelData & model, const GeneralSetting
|
|||
result.max = 100;
|
||||
if (singleprec) result.offset = 128;
|
||||
break;
|
||||
case TELEMETRY_SOURCE_A1_MIN:
|
||||
case TELEMETRY_SOURCE_A2_MIN:
|
||||
case TELEMETRY_SOURCE_A3_MIN:
|
||||
case TELEMETRY_SOURCE_A4_MIN:
|
||||
index -= TELEMETRY_SOURCE_A1_MIN;
|
||||
index += TELEMETRY_SOURCE_A1;
|
||||
// no break;
|
||||
case TELEMETRY_SOURCE_A1:
|
||||
case TELEMETRY_SOURCE_A2:
|
||||
case TELEMETRY_SOURCE_A3:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue