kbd_task: Increase long-press threshold to 0.7

replace/bc3fe3fa31a8d2b5571a511d0901f9a2eadb1e38
Federico Amedeo Izzo 2020-12-18 18:42:12 +01:00
rodzic 95a8e99605
commit 2c792c13a2
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -69,7 +69,7 @@ static const uint8_t kbd_num_keys = 29;
/** /**
* Time interval in ticks after which a keypress is considered a long-press * Time interval in ticks after which a keypress is considered a long-press
*/ */
static const uint16_t kbd_long_interval = OS_CFG_TICK_RATE_HZ / 2; static const uint16_t kbd_long_interval = OS_CFG_TICK_RATE_HZ * 0.7;
/** /**
* Structure that represents a keyboard event payload * Structure that represents a keyboard event payload