-
Notifications
You must be signed in to change notification settings - Fork 813
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix circular buffer to overflow properly (#1163)
* Bug fix, the instance comparision was wrong * Update circular buffer to take into account the number of channels being sampled * Update cb_init function, remove floating operations from the microblaze. Fix the computation of the log_capacity * Fix variable name * Add head overflow in the circular buffer structure to allow reseting it everytime it's initialized * Remove overflow bit * Enhance class to support a single channel * Update changelog * Modify MAX_SAMPLES to be multiple of 1, 2 and 3 channels * Fix comments * Include 'raw' APIs calling for backwards compatibility
- Loading branch information
1 parent
8e10b3b
commit 3fe99d4
Showing
17 changed files
with
163 additions
and
262 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
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
Oops, something went wrong.