StimFrame: Store ringbuff index as member var
Now each StimFrame knows its index within its parent SpMcRingbuff object.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <algorithm>
|
||||
#include <unistd.h>
|
||||
#include <iomanip>
|
||||
#include <cstddef>
|
||||
#include <user/spMcRingBuffer.h>
|
||||
#include <componentThread.h>
|
||||
#include <asynchronousLoop.h>
|
||||
@@ -88,7 +89,7 @@ tempStimulusFrame(
|
||||
0,
|
||||
reinterpret_cast<uint8_t*>(&tempStimulusFrameMem),
|
||||
sizeof(tempStimulusFrameMem)},
|
||||
*smoHooksPtr, 0)
|
||||
*smoHooksPtr, 0, SIZE_MAX)
|
||||
{
|
||||
if (smoHooksPtr->OptionParser_getOptions().verbose)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user