slow down button loop

This commit is contained in:
cyberman54 committed 2022-11-06 19:09:59 +01:00
1 parent 367882ab93
commit bdbf6092e8
1 file changed
+1 -1
+1 -1
View File
@@ -29,7 +29,7 @@ void longPressStart(void) {
void buttonLoop(void *parameter) {
while (1) {
doIRQ(BUTTON_IRQ);
delay(20);
delay(50); // 50 is debounce time of OneButton lib, so doesn't hurt
}
}