diff --git a/C/actions.cpp b/C/actions.cpp index edd7a80..14e1d82 100644 --- a/C/actions.cpp +++ b/C/actions.cpp @@ -1,10 +1,8 @@ -void setSample(int sample, int step) { +void setSample(int sample) { if(setErease) { - for(int i=0; i= duration ? 0 : *timer+1; usleep(1000); if(*timer == 0) { - drawRects(*step-1); + drawRects(step-1); for(int i=0; i