Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mixer config initialization sequence #9339

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

shota3527
Copy link
Contributor

Fixes a critical bug, which will cause the firmware to load the wrong PID controller.

platform type was not loaded before the PID controller initialization, This PR fixes this issue


void mixerConfigInit(void)
{
activateMixerConfig();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is calling activateMixerConfig() needed here?

Otherwise it looks good.

@DzikuVx DzikuVx added this to the 7.0 milestone Oct 4, 2023
@DzikuVx DzikuVx merged commit bec12a9 into iNavFlight:master Oct 4, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants