Skip to content
Commit b748a54c authored by Radosław Koppel's avatar Radosław Koppel Committed by Carles Cufi
Browse files

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: default avatarRadoslaw Koppel <radoslaw.koppel@nordicsemi.no>
parent bd001081
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment