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

Curves in Mixes were not correctly restored on Companion for Sky9x

boards
This commit is contained in:
bsongis 2014-07-07 07:21:12 +02:00
parent 23cafa84f2
commit ad7da779c7

View file

@ -1016,7 +1016,7 @@ class MixField: public TransformedField {
if (mix.srcRaw.type != SOURCE_TYPE_NONE) {
mix.destCh = _destCh + 1;
if (!IS_ARM(board) || version < 216) {
if (!IS_TARANIS(board) || version < 216) {
if (!_curveMode)
mix.curve = CurveReference(CurveReference::CURVE_REF_DIFF, smallGvarToC9x(_curveParam));
else if (_curveParam > 6)