Merged in antmerlino/nuttx/logupto-fix (pull request #559)
syslog: Fixes LOG_UPTO macro to include specified log level Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
parent
c2e50351e4
commit
058a938268
@ -125,7 +125,7 @@
|
||||
/* Used with setlogmask() */
|
||||
|
||||
#define LOG_MASK(p) (1 << (p))
|
||||
#define LOG_UPTO(p) ((1 << (p)) - 1)
|
||||
#define LOG_UPTO(p) ((1 << ((p)+1)) - 1)
|
||||
#define LOG_ALL 0xff
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user