Skip to content

Commit d39c4d9

Browse files
committed
Fixed minor bugs with constructor and setBuffer parameter numColumns changed to numCols
1 parent fddfefe commit d39c4d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source code/Vibrosonics/CircularBuffer.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ class CircularBuffer {
2323
this->bufferIndex = 0;
2424
};
2525

26-
CircularBuffer(T* bufferPtr, uint16_t numRows, uint16_t numColumns)
26+
CircularBuffer(T* bufferPtr, uint16_t numRows, uint16_t numCols)
2727
{
2828
this->bufferPtr = bufferPtr;
2929
this->numRows = numRows;
3030
this->numCols = numCols;
3131
this->bufferIndex = 0;
3232
};
3333

34-
void setBuffer(T* bufferPtr, uint16_t numRows, uint16_t numColumns)
34+
void setBuffer(T* bufferPtr, uint16_t numRows, uint16_t numCols)
3535
{
3636
this->bufferPtr = bufferPtr;
3737

0 commit comments

Comments
 (0)