diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-28 21:55:16 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-28 21:55:16 +0000 |
commit | ae5e2d8004affd8a0519de97a3c1ad700fa2b720 (patch) | |
tree | d6bc886b1d8c6772e245e715bb2676d95b8a9b78 /apps/examples/usbterm/usbterm.h | |
parent | 489c78d7b6b14ca5b8eb7e2011c77599166a7894 (diff) | |
download | px4-nuttx-ae5e2d8004affd8a0519de97a3c1ad700fa2b720.tar.gz px4-nuttx-ae5e2d8004affd8a0519de97a3c1ad700fa2b720.tar.bz2 px4-nuttx-ae5e2d8004affd8a0519de97a3c1ad700fa2b720.zip |
Add syslog.h; rename lib_rawprintf() to syslog()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/usbterm/usbterm.h')
-rw-r--r-- | apps/examples/usbterm/usbterm.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/examples/usbterm/usbterm.h b/apps/examples/usbterm/usbterm.h index 2534c2f3c..560e55346 100644 --- a/apps/examples/usbterm/usbterm.h +++ b/apps/examples/usbterm/usbterm.h @@ -101,16 +101,16 @@ #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG -# define message(...) lib_rawprintf(__VA_ARGS__) -# define trmessage lib_rawprintf +# define message(...) syslog(__VA_ARGS__) +# define trmessage syslog # else # define message(...) printf(__VA_ARGS__) # define trmessage printf # endif #else # ifdef CONFIG_DEBUG -# define message lib_lowprintf -# define trmessage lib_lowprintf +# define message lowsyslog +# define trmessage lowsyslog # else # define message printf # define trmessage printf |