commit | b748a54c7fbda57aec4d768f1b5e1003310a75b2 | [log] [tgz] |
---|---|---|
author | Radoslaw Koppel <radoslaw.koppel@nordicsemi.no> | Mon Jun 03 10:23:34 2019 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Jun 03 11:58:05 2019 +0200 |
tree | 275e82b500c88f33884dafdd0640844689da2df4 | |
parent | bd001081fce1e2b2123f8248be9c3c938d1f470c [diff] |
subsys/settings: Cleanup the initialisation of the subsys This commit removes redundant checks if the module was already initialized. The variable to mark the fact of initialization is moved as a global module variable. This allows creating more sophisticated unit tests of the settings subsystem by giving a possibility to modify the internal mark of the fact the system was initialized. Signed-off-by: Radoslaw Koppel <radoslaw.koppel@nordicsemi.no>