mgmt: hawkbit: use settings_save_subtree()
use settings_save_subtree() instead of settings_save() to only save the hawkbit settings Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
This commit is contained in:
parent
dd37c60d5a
commit
b500f4c557
1 changed files with 1 additions and 1 deletions
|
@ -797,7 +797,7 @@ int hawkbit_set_config(struct hawkbit_runtime_config *config)
|
|||
LOG_DBG("configured %s: %d", "hawkbit/tls_tag", hb_cfg.tls_tag);
|
||||
}
|
||||
#endif /* CONFIG_HAWKBIT_USE_DYNAMIC_CERT_TAG */
|
||||
settings_save();
|
||||
settings_save_subtree("hawkbit");
|
||||
k_sem_give(&probe_sem);
|
||||
} else {
|
||||
LOG_WRN("failed setting config");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue