mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 13:52:22 +08:00
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:
committed by
Gregory Nutt
parent
c2e50351e4
commit
058a938268
+1
-1
@@ -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
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user