diff options
author | Peter Johanson <[email protected]> | 2024-01-14 19:19:23 +0000 |
---|---|---|
committer | Pete Johanson <[email protected]> | 2024-02-09 14:32:46 -0800 |
commit | aeb5bed3d69ded562cc0025d737a64a6c12b240f (patch) | |
tree | e5d0ea033626e094eab4da2ba05a956e7422ee73 | |
parent | a6c03994932994be26cfeb05aa680470ccb97031 (diff) | |
download | zmk-aeb5bed3d69ded562cc0025d737a64a6c12b240f.tar.gz zmk-aeb5bed3d69ded562cc0025d737a64a6c12b240f.zip |
fix(kscan): Adjust charlieplex init level/priority.
-rw-r--r-- | app/module/drivers/kscan/kscan_gpio_charlieplex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/module/drivers/kscan/kscan_gpio_charlieplex.c b/app/module/drivers/kscan/kscan_gpio_charlieplex.c index f450af2b59..a4867aa320 100644 --- a/app/module/drivers/kscan/kscan_gpio_charlieplex.c +++ b/app/module/drivers/kscan/kscan_gpio_charlieplex.c @@ -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); |