1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-23 00:05:13 +03:00

A1- A2- A3- A4- min/max wrong in Logical Switches (Companion)

This commit is contained in:
bsongis 2014-06-21 11:08:48 +02:00
parent 40a391d778
commit 8d6ab5c123

View file

@ -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: