Skip to content

Commit

Permalink
fix(kscan): Adjust charlieplex init level/priority.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Jan 31, 2024
1 parent fd05f03 commit c36e117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/module/drivers/kscan/kscan_gpio_charlieplex.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ static const struct kscan_driver_api kscan_charlieplex_api = {
COND_THIS_INTERRUPT(n, (.interrupt = KSCAN_INTR_CFG_INIT(n), ))}; \
\
DEVICE_DT_INST_DEFINE(n, &kscan_charlieplex_init, NULL, &kscan_charlieplex_data_##n, \
&kscan_charlieplex_config_##n, APPLICATION, \
CONFIG_APPLICATION_INIT_PRIORITY, &kscan_charlieplex_api);
&kscan_charlieplex_config_##n, POST_KERNEL, CONFIG_KSCAN_INIT_PRIORITY, \
&kscan_charlieplex_api);

DT_INST_FOREACH_STATUS_OKAY(KSCAN_CHARLIEPLEX_INIT);

0 comments on commit c36e117

Please sign in to comment.