-
Notifications
You must be signed in to change notification settings - Fork 7.5k
subsys: logging: defines clean up #14607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
subsys: logging: defines clean up #14607
Conversation
@galak could you try it with clang? |
#define CONFIG_LOG_BACKEND_RTT_RETRY_CNT 10 | ||
#endif | ||
|
||
#define DROP_MAX 99 | ||
|
||
#define DROP_MSG "\nmessages dropped: \r" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know that it is not part of this change, but do you know what is a purpose of \r
at the end?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope,
All checks are passing now. Review history of this comment for details about previous failed status. |
Codecov Report
@@ Coverage Diff @@
## master #14607 +/- ##
=======================================
Coverage 52.51% 52.51%
=======================================
Files 309 309
Lines 45048 45048
Branches 10419 10419
=======================================
Hits 23656 23656
Misses 16584 16584
Partials 4808 4808 Continue to review full report at Codecov.
|
@nordic-krch any plans to update? |
02d653c
to
358c4a2
Compare
RTT backend supports two modes blocking and drop. Apparently, defines used lead to warning while clang compilation. Define that caused warning has been changed together with clean up which removed #ifdefs for definitions. Signed-off-by: Krzysztof Chruscinski <[email protected]>
358c4a2
to
064f513
Compare
@galak did you tried it with clang. Is the warning fixed? |
RTT backend supports two modes blocking and drop. Apparently,
defines used lead to warning while clang compilation. Define
that caused warning has been changed together with clean up
which removed #ifdefs for definitions.
Fixes #14536
Signed-off-by: Krzysztof Chruscinski [email protected]