forked from xoseperez/espurna
-
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.
ir: restructure and add more settings
Declare settings under it's own namespace, where previous version used function prefix. Allow to have configurable timeout and buffer size for rx; default series, repeats and delay values for tx. Values are reloaded with the appropriate configure() function from the namespace, unless they apply to the IR{send,recv} object itself. Also, no need to define 'default' fields for either of the Payload structures. After parsing is done, pass all of string views to the function defined in the .cpp that will prepare the resulting value.
- Loading branch information
Showing
6 changed files
with
207 additions
and
117 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
Oops, something went wrong.