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:
Anthony Merlino 2017-12-20 13:34:29 +00:00 committed by Gregory Nutt
parent c2e50351e4
commit 058a938268

View File

@ -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
/****************************************************************************