Rebased and fixed nasty code

This commit is contained in:
Mega Mind
2020-10-12 23:50:54 +08:00
parent 5d1c083959
commit 4adcb396ff
3 changed files with 16 additions and 20 deletions

View File

@@ -54,4 +54,4 @@ static const struct behavior_driver_api behavior_key_press_driver_api = {
&behavior_key_press_data_##n, &behavior_key_press_config_##n, APPLICATION, \
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, &behavior_key_press_driver_api);
DT_INST_FOREACH_STATUS_OKAY(KP_INST)
DT_INST_FOREACH_STATUS_OKAY(KP_INST)