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

Fixes to timer DMA and DSHOT code #4235

Merged
merged 2 commits into from Jan 19, 2019

Conversation

Projects
None yet
1 participant
@digitalentity
Copy link
Member

commented Jan 19, 2019

Fixes a race condition to timer DMA.
Ensures that current DMA transaction is always terminated before starting a new one.
Ensures that DSHOT scheduler doesn't use stale time - prevents long SD-card file system operations from breaking DSHOT scheduling and triggering a DMA race condition.

Fixes #4197

@digitalentity

This comment has been minimized.

Copy link
Member Author

commented Jan 19, 2019

Tested. 2 hours idling on the bench, 30-40 minutes armed with 1kHz SDCard logging. No issues. Merging.

@digitalentity digitalentity merged commit 0d0d256 into development Jan 19, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@digitalentity digitalentity deleted the de_timer_fixes branch Jan 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.