-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix(i2c): use queue instead of event group for internal commands
Reported from github: #1312 #1193 Issues: 1. We used to use event group in the driver, which would cause: a. longer operation time since the event group are based on FreeRTOS timer. b. Operation fails if the timer queue is not long enough. 2. There might be some issue with event group, we will still try to provide a small test code in other branch. modification: 1. use queue instead of event-bit for internal commands 2. use queue overwrite for cmd_done event
- Loading branch information
Showing
1 changed file
with
30 additions
and
24 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