fix(behavior): Proper init priority for ext_power.

This commit is contained in:
ctranstrum 2024-02-14 18:29:19 -07:00 committed by GitHub
parent c7fb418e88
commit 0f49fa9ae4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,6 +75,6 @@ static const struct behavior_driver_api behavior_ext_power_driver_api = {
};
BEHAVIOR_DT_INST_DEFINE(0, behavior_ext_power_init, NULL, NULL, NULL, POST_KERNEL,
CONFIG_APPLICATION_INIT_PRIORITY, &behavior_ext_power_driver_api);
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, &behavior_ext_power_driver_api);
#endif /* DT_HAS_COMPAT_STATUS_OKAY(DT_DRV_COMPAT) */