Skip to content

Commit

Permalink
Fix send-string behavior init priority
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbb committed Dec 10, 2024
1 parent ba57447 commit 7973f63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/behaviors/behavior_send_string.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ static int behavior_send_string_init(const struct device *dev) { return 0; }
.text = DT_INST_PROP(n, text), \
.config = ZMK_SEND_STRING_CONFIG_DT_INST_PROP(n), \
}; \
BEHAVIOR_DT_INST_DEFINE(n, behavior_send_string_init, NULL, NULL, \
&behavior_send_string_config_##n, POST_KERNEL, \
CONFIG_APPLICATION_INIT_PRIORITY, &behavior_send_string_driver_api);
BEHAVIOR_DT_INST_DEFINE( \
n, behavior_send_string_init, NULL, NULL, &behavior_send_string_config_##n, POST_KERNEL, \
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, &behavior_send_string_driver_api);

DT_INST_FOREACH_STATUS_OKAY(SEND_STRING_INST);

0 comments on commit 7973f63

Please sign in to comment.