Skip to content

Commit

Permalink
3D-mode fix - revert controllerMixRange
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter committed Jun 18, 2024
1 parent bfec265 commit af6cf5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/flight/mixer.c
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ void mixThingsUp(const float scaledAxisPidRoll, const float scaledAxisPidPitch,
} else if (controllerMixVal < controllerMixMin) {
controllerMixMin = controllerMixVal;
}
controllerMix[i] = controllerMixVal * controllerMix3DModeSign;
controllerMix[i] = controllerMixVal;
}

controllerMixRange = controllerMixMax - controllerMixMin; // measures how much the controller is trying to compensate
Expand Down

0 comments on commit af6cf5a

Please sign in to comment.