aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/src/behaviors/behavior_backlight.c
diff options
context:
space:
mode:
authorPeter Johanson <[email protected]>2023-11-09 00:17:44 -0800
committerPete Johanson <[email protected]>2024-02-09 14:32:46 -0800
commitd6de8a3acce86136c2d6fe944ab5afbc3e10be86 (patch)
tree1d74e9384899dd8cef872a83b00fc31b2b5f96ab /app/src/behaviors/behavior_backlight.c
parentba1a6c08adfaf579292efd24b932033ddd66ce22 (diff)
downloadzmk-d6de8a3acce86136c2d6fe944ab5afbc3e10be86.tar.gz
zmk-d6de8a3acce86136c2d6fe944ab5afbc3e10be86.zip
refactor: Move to POST_KERNEL phase for behavior inits.
Diffstat (limited to 'app/src/behaviors/behavior_backlight.c')
-rw-r--r--app/src/behaviors/behavior_backlight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/behaviors/behavior_backlight.c b/app/src/behaviors/behavior_backlight.c
index 42967e398c..3f836b73d7 100644
--- a/app/src/behaviors/behavior_backlight.c
+++ b/app/src/behaviors/behavior_backlight.c
@@ -91,7 +91,7 @@ static const struct behavior_driver_api behavior_backlight_driver_api = {
.locality = BEHAVIOR_LOCALITY_GLOBAL,
};
-BEHAVIOR_DT_INST_DEFINE(0, behavior_backlight_init, NULL, NULL, NULL, APPLICATION,
+BEHAVIOR_DT_INST_DEFINE(0, behavior_backlight_init, NULL, NULL, NULL, POST_KERNEL,
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, &behavior_backlight_driver_api);
#endif /* DT_HAS_COMPAT_STATUS_OKAY(DT_DRV_COMPAT) */