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