mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 09:15:38 +03:00
A3 and A4 V2 value bug in Logical Switches (Companion)
This commit is contained in:
parent
30b660da17
commit
eeb9ee8aa2
1 changed files with 2 additions and 0 deletions
|
@ -125,6 +125,8 @@ RawSourceRange RawSource::getRange(bool singleprec)
|
||||||
break;
|
break;
|
||||||
case TELEMETRY_SOURCE_A1:
|
case TELEMETRY_SOURCE_A1:
|
||||||
case TELEMETRY_SOURCE_A2:
|
case TELEMETRY_SOURCE_A2:
|
||||||
|
case TELEMETRY_SOURCE_A3:
|
||||||
|
case TELEMETRY_SOURCE_A4:
|
||||||
if (model) {
|
if (model) {
|
||||||
const FrSkyChannelData & channel = model->frsky.channels[index-TELEMETRY_SOURCE_A1];
|
const FrSkyChannelData & channel = model->frsky.channels[index-TELEMETRY_SOURCE_A1];
|
||||||
float ratio = channel.getRatio();
|
float ratio = channel.getRatio();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue