Skip to content

Commit

Permalink
Change kscan init
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbb committed Sep 25, 2023
1 parent 950a195 commit 00ccca9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/tako_drivers/kscan/kscan_gpio_ec.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ static const struct kscan_driver_api kscan_ec_api = {
ZMK_SUBSCRIPTION(kscan_ec##n, zmk_activity_state_changed); \
\
DEVICE_DT_INST_DEFINE(n, &kscan_ec_init, NULL, &kscan_ec_data_##n, \
&kscan_ec_config_##n, APPLICATION, \
CONFIG_APPLICATION_INIT_PRIORITY, &kscan_ec_api);
&kscan_ec_config_##n, POST_KERNEL, \
CONFIG_KSCAN_INIT_PRIORITY, &kscan_ec_api);

DT_INST_FOREACH_STATUS_OKAY(KSCAN_EC_INIT);

0 comments on commit 00ccca9

Please sign in to comment.