mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
Curves in Mixes were not correctly restored on Companion for Sky9x
boards
This commit is contained in:
parent
23cafa84f2
commit
ad7da779c7
1 changed files with 1 additions and 1 deletions
|
@ -1016,7 +1016,7 @@ class MixField: public TransformedField {
|
||||||
|
|
||||||
if (mix.srcRaw.type != SOURCE_TYPE_NONE) {
|
if (mix.srcRaw.type != SOURCE_TYPE_NONE) {
|
||||||
mix.destCh = _destCh + 1;
|
mix.destCh = _destCh + 1;
|
||||||
if (!IS_ARM(board) || version < 216) {
|
if (!IS_TARANIS(board) || version < 216) {
|
||||||
if (!_curveMode)
|
if (!_curveMode)
|
||||||
mix.curve = CurveReference(CurveReference::CURVE_REF_DIFF, smallGvarToC9x(_curveParam));
|
mix.curve = CurveReference(CurveReference::CURVE_REF_DIFF, smallGvarToC9x(_curveParam));
|
||||||
else if (_curveParam > 6)
|
else if (_curveParam > 6)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue