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

Bugfix flapper power distribution #1136

Merged
merged 2 commits into from
Oct 13, 2022

Conversation

matejkarasek
Copy link
Contributor

This PR fixes a bug introduced in #1132 and affecting only the newly introduced flapper platform.

After the changes requested by the reviewers, the motorsStop() function was not working as intended with the flapper platform.
The motor mapping in the newly introduced powerDistributionStopRatio(id) and powerDistributionMotorType(id) functions was incorrect, and is fixed in this PR.

Copy link
Contributor

@krichardsson krichardsson left a comment

Choose a reason for hiding this comment

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

See comment in the code :-)

src/modules/src/power_distribution_flapper.c Outdated Show resolved Hide resolved
@matejkarasek
Copy link
Contributor Author

Thanks for checking, hopefully clean and fixed now :)

@krichardsson krichardsson merged commit 0281706 into bitcraze:master Oct 13, 2022
@krichardsson
Copy link
Contributor

Merged. Thanks!

@krichardsson krichardsson added this to the 2022.12 milestone Dec 13, 2022
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.

2 participants