forked from kofal.net/zmk
refactor(settings): Only load used subtrees
This commit is contained in:
committed by
Pete Johanson
parent
b5e17e3b0f
commit
69d48c5715
@@ -140,6 +140,8 @@ static int ext_power_generic_init(const struct device *dev) {
|
||||
}
|
||||
|
||||
#if IS_ENABLED(CONFIG_SETTINGS)
|
||||
settings_subsys_init();
|
||||
|
||||
settings_register(&ext_power_conf);
|
||||
k_delayed_work_init(&ext_power_save_work, ext_power_save_state_work);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user