Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
fixed perpetual loop
Browse files Browse the repository at this point in the history
  • Loading branch information
arjo129 committed Aug 13, 2013
1 parent fbd6da9 commit 71a93f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void signal::zeroCrossingSearch(){
prev = arr[i]-avgPower;
if(prev<0){
lower = i;
i = 33; //Break out of loop
i = 0; //Break out of loop
}
i--;
}
Expand Down

0 comments on commit 71a93f3

Please sign in to comment.