Skip to content

Commit 5bb31f6

Browse files
committed
Adding an redundant initialization of filterEmgRunningSum to the constructor.
1 parent 75aaa14 commit 5bb31f6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Devlpr.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Devlpr::Devlpr(int pin, int filterType)
55
{
66
emgPin = pin;
77
rawEmgRunningSum = 0;
8+
filterEmgRunningSum = 0;
89
bufInd = BUFSIZE - 1;
910
numFuncs = 0;
1011
if (filterType != FILTER_NONE) {

0 commit comments

Comments
 (0)