Browse Source

Bump delay in scanning while held to 5ms.

xmkb
Pete Johanson 4 years ago
parent
commit
ac802bedb1
  1. 2
      app/drivers/zephyr/kscan_gpio_matrix.c

2
app/drivers/zephyr/kscan_gpio_matrix.c

@ -171,7 +171,7 @@ static int kscan_gpio_config_interrupts(struct device **devices,
({ k_work_submit(&data->work); }), \ ({ k_work_submit(&data->work); }), \
({ \ ({ \
k_delayed_work_cancel(&data->work); \ k_delayed_work_cancel(&data->work); \
k_delayed_work_submit(&data->work, K_MSEC(1)); })) \ k_delayed_work_submit(&data->work, K_MSEC(5)); })) \
} \ } \
return 0; \ return 0; \
} \ } \

Loading…
Cancel
Save