Skip to content
Permalink
Browse files

Settings: Initialize settings_lock mutex

The settings_lock mutex was never initialized

Signed-off-by: Tobias Svehagen <tobias.svehagen@gmail.com>
  • Loading branch information...
tsvehagen authored and carlescufi committed Aug 5, 2019
1 parent 57a166a commit e55f3eba4c2300f97bee30f058a91a8ae8b693a9
Showing with 1 addition and 1 deletion.
  1. +1 −1 subsys/settings/src/settings.c
@@ -22,7 +22,7 @@ LOG_MODULE_REGISTER(settings, CONFIG_SETTINGS_LOG_LEVEL);
sys_slist_t settings_handlers;
#endif /* CONFIG_SETTINGS_DYNAMIC_HANDLERS */

struct k_mutex settings_lock;
K_MUTEX_DEFINE(settings_lock);


void settings_store_init(void);

0 comments on commit e55f3eb

Please sign in to comment.
You can’t perform that action at this time.