Removed last return from debounceRead
All checks were successful
Build Code / build (push) Successful in 1m20s
All checks were successful
Build Code / build (push) Successful in 1m20s
This commit is contained in:
@@ -31,6 +31,4 @@ bool debounceRead(int buttonPin, int *lastButtonState, unsigned long *lastDeboun
|
||||
|
||||
// save the reading. Next time through the loop, it'll be the lastButtonState:
|
||||
*lastButtonState = reading;
|
||||
|
||||
return false;
|
||||
}
|
||||
Reference in New Issue
Block a user