refactor(settings): Only load used subtrees

This commit is contained in:
Nick Winans 2020-12-08 22:15:59 -06:00 committed by Pete Johanson
parent b5e17e3b0f
commit 69d48c5715
6 changed files with 7 additions and 11 deletions

View file

@ -166,7 +166,7 @@ static int zmk_endpoints_init(const struct device *_arg) {
return err;
}
settings_load();
settings_load_subtree("endpoints");
#endif
return 0;