-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drv/bluetooth_stm32_cc2640: strict ordering of tasks
Similar to efda5d0, this avoids bugs by only allowing the Bluetooth chip to do one thing at a time and blocks other requested tasks until the previous ones have completed. This helps prevent the Bluetooth chip from getting in a bad state and fixes some existing known bugs. We can also now drop the workaround for [1] from 7d7434f (which in addition to the changes in this commit is also now avoided by a01772b). [1]: pybricks/support#736 Fixes: pybricks/support#567
- Loading branch information
Showing
2 changed files
with
38 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters