forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit changes the behavior of the driver when it reports buffer results back through the callback. Originally, the driver reported a callback after each sequence table round signaled by an interrupt. If in repetitive mode, each reported result was put in the next buffer element, which was considered circular, and reported back with callback. Now the behavior changes. If in repetitive mode, each sequence table round reported by an interruption puts the data in next element of the reception buffer. The callback reports back once the buffer is fulled and stops the sampling process. Change-Id: I3707574cfaf5dfc874473f38c5dfa88dd392133d Signed-off-by: Juan Manuel Cruz <[email protected]>
- Loading branch information
Showing
2 changed files
with
57 additions
and
17 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