forked from kofal.net/zmk
refactor(drivers): Use proper init stage/priority.
* Avoid APPLICATION stage and use the proper earlier stage for kscan drivers.
This commit is contained in:
committed by
Pete Johanson
parent
690bc1bb44
commit
c28ef1b61e
@@ -109,4 +109,4 @@ static const struct kscan_composite_config kscan_composite_config = {};
|
||||
static struct kscan_composite_data kscan_composite_data;
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, kscan_composite_init, NULL, &kscan_composite_data, &kscan_composite_config,
|
||||
APPLICATION, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, &mock_driver_api);
|
||||
POST_KERNEL, CONFIG_KSCAN_INIT_PRIORITY, &mock_driver_api);
|
||||
|
||||
Reference in New Issue
Block a user