Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
subsys/settings: Update bluetooth module
Updated the bluetooth module to use static handlers. Removed the old bt specific static registration. The routine bt_settings_init() is still calling settings_init() which IMO is not needed anymore. Updates: changed SETTINGS_REGISTER_STATIC() to SETTINGS_STATIC_HANDLER_DEFINE() changed settings_handler_stat type to settings_handler_static type removed NULL declarations renamed bt_handler to bt_settingshandler, as bt_handler already exists. renamed all bt_XXX_handler to bt_xxx_settingshandler to avoid any overlap. changed SETTINGS_STATIC_HANDLER_DEFINE() to create variable names from _hname by just prepending them with settings_handler_. updated all bt_xxx_settings_handler to just bt_xxx. Signed-off-by: Laczen JMS <laczenjms@gmail.com>
- Loading branch information
1 parent
c20ff11
commit 5f19c81
Showing
8 changed files
with
32 additions
and
89 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
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
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
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