forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
1 parent
bd00108
commit b748a54
Showing
2 changed files
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters