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

Fixed prop test not working with DSHOT and some small DSHOT efficiency improvements #1055

Merged
merged 1 commit into from
Jun 7, 2022

Conversation

tobbeanton
Copy link
Member

DSHOT has one function, motorsBurstDshot() that sends out all motor signals at once which is a bit different then the timer generated signals. This did not work during the propeller test as the motorsBurstDshot() function was never called. As a fix this was moved to the end of the update loop in stabilizer. At the same time, while debugging, a did some small efficiency improvements. E.g. the DMA reload is only a DMA_Stream->NDTR update instead of a full re-init with DMA_Init(...)

@tobbeanton tobbeanton requested review from krichardsson and evoggy June 7, 2022 13:38
@krichardsson krichardsson marked this pull request as ready for review June 7, 2022 14:57
@krichardsson krichardsson merged commit bdf0386 into master Jun 7, 2022
@krichardsson krichardsson deleted the tobba/DSHOT_prop_test_fix branch June 7, 2022 14:57
@krichardsson krichardsson added this to the 2022.09 milestone Sep 7, 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