Increase keyboard thread polling rate to 40Hz to improve knob reactivity

replace/97efd0c9aea4726a1b1c2116626d2a050ab5eb61 v0.3.2
Federico Amedeo Izzo 2021-06-07 20:10:02 +02:00
rodzic 70a0eeaf29
commit 1fbecb4c22
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -204,8 +204,8 @@ void *kbd_task(void *arg)
// Save current keyboard state as previous
prev_keys = keys;
// Read keyboard state at 20Hz
sleepFor(0u, 50u);
// Read keyboard state at 40Hz
sleepFor(0u, 25u);
}
}