mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 18:53:34 +08:00
Add syslog.h; rename lib_rawprintf() to syslog()
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -46,12 +46,12 @@
|
||||
* Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* Used lib_rawprintf() so that there is no confusion from buffered IO */
|
||||
/* Used syslog() so that there is no confusion from buffered IO */
|
||||
|
||||
#ifdef CONFIG_CPP_HAVE_VARARGS
|
||||
# define message(...) lib_rawprintf(__VA_ARGS__)
|
||||
# define message(...) syslog(__VA_ARGS__)
|
||||
#else
|
||||
# define message lib_rawprintf
|
||||
# define message syslog
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user