tinydtls: remove TINYDTLS_LOG and cleanup#13290
Merged
smlng merged 3 commits intoRIOT-OS:masterfrom Feb 6, 2020
Merged
Conversation
added 3 commits
February 5, 2020 06:58
- Removes `TINYDTLS_LOG` because it is redundant with `TINYDTLS_LOG_LVL` - Remove check for using tinydtls module because the Makefile will only be included if the tinydtls module is used
smlng
approved these changes
Feb 5, 2020
Member
smlng
left a comment
There was a problem hiding this comment.
looks straight forward, lets see what CI says.
Contributor
Author
|
All green! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
TINYDTLS_LOGcurrently just sets another flagTINYDTLS_LOG_LVL. This PR removesTINYDTLS_LOGfrom tinydtls Makefiles and its usage in the dtls-echo and dtls-sock example application. Applications that want to set the log level of tinydtls manually can still useTINYDTLS_LOG_LVLdirectly. This simplifies the logic in tinydtlsMakefile.include.This PR also removes the redundant check for tinydtls in the
Makefile.include.Testing procedure
Check the dtls-echo and the dtls-sock example still compiles and the debug log is enabled when
DTLS_DEBUGis added to CFLAGS