commit | 72050f46bc3821dc266168227a91bca0bda8b11c | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Wed May 16 18:56:18 2018 +0300 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu May 17 12:17:30 2018 +0200 |
tree | 9f86f079ef3bfc20805eec3382db5c6bb35ec25c | |
parent | 941007d4a0582883d5e6f2804bdf0745c88568b7 [diff] |
settings: Make it safe to call settings_subsys_init() multiple times The settings_init() API was protected against multiple calls, but the only function that calls it, settings_subsys_init(), was not. Add the protection to the higher-level function as well. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>