diff --git a/stepper-2/stepper.c b/stepper-2/stepper.c index aa05880..7bb2618 100644 --- a/stepper-2/stepper.c +++ b/stepper-2/stepper.c @@ -230,7 +230,7 @@ int main (void) } // approach threshold else { - stepdebounce++ + stepdebounce++; } } // if input changed, reset debouncer