Bump delay in scanning while held to 5ms.

This commit is contained in:
Pete Johanson 2020-08-05 22:58:14 -04:00
parent 6fd572d3b6
commit ac802bedb1
1 changed files with 1 additions and 1 deletions

View File

@ -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; \
} \ } \