fix(firmware): instant trim broken when stick controls inputs with mixed trims (#7151)
This commit is contained in:
@@ -1232,8 +1232,7 @@ void instantTrim()
|
|||||||
if (stick == expo->srcRaw - MIXSRC_FIRST_STICK) {
|
if (stick == expo->srcRaw - MIXSRC_FIRST_STICK) {
|
||||||
if (expo->trimSource < 0) {
|
if (expo->trimSource < 0) {
|
||||||
// only default trims will be taken into account
|
// only default trims will be taken into account
|
||||||
addTrim = false;
|
continue;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
auto newDelta = anas[expo->chn] - anas_0[expo->chn];
|
auto newDelta = anas[expo->chn] - anas_0[expo->chn];
|
||||||
if (addTrim && delta != newDelta) {
|
if (addTrim && delta != newDelta) {
|
||||||
|
|||||||
Reference in New Issue
Block a user