slow down button loop

This commit is contained in:
cyberman54 2022-11-06 19:09:59 +01:00
parent 367882ab93
commit bdbf6092e8

View File

@ -29,7 +29,7 @@ void longPressStart(void) {
void buttonLoop(void *parameter) { void buttonLoop(void *parameter) {
while (1) { while (1) {
doIRQ(BUTTON_IRQ); doIRQ(BUTTON_IRQ);
delay(20); delay(50); // 50 is debounce time of OneButton lib, so doesn't hurt
} }
} }