Skip to content

Commit

Permalink
prComments
Browse files Browse the repository at this point in the history
  • Loading branch information
vberthiaume committed Dec 17, 2024
1 parent 4084901 commit 428dac6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion include/puara/utils/blobDetector.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ namespace puara_gestures
* - The number of blobs processed is limited by `maxNumBlobs` (default is `4`).
* - If the input contains more blobs than `maxNumBlobs`, the additional blobs are ignored.
*/
struct BlobDetector
class BlobDetector
{
public:
/** The maximum number of blobs that the algorithm should detect. */
static constexpr int maxNumBlobs = 4;

Expand Down
2 changes: 1 addition & 1 deletion tests/testing_touch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ int main()
{
Touch touch;

const int touchSize = 16;
constexpr int touchSize = 16;
int discrete_touch[touchSize] = {0};

// simulate a blob of size 1 starting at position 0
Expand Down

0 comments on commit 428dac6

Please sign in to comment.