aboutsummaryrefslogtreecommitdiff
path: root/apps/examples/cdcacm
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-28 21:55:16 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-28 21:55:16 +0000
commit79ccfa4ae6db4b085703b12c8f6846716fc69df7 (patch)
treed6bc886b1d8c6772e245e715bb2676d95b8a9b78 /apps/examples/cdcacm
parent433dae74225a98c5ed65834b8574eea90259e220 (diff)
downloadpx4-firmware-79ccfa4ae6db4b085703b12c8f6846716fc69df7.tar.gz
px4-firmware-79ccfa4ae6db4b085703b12c8f6846716fc69df7.tar.bz2
px4-firmware-79ccfa4ae6db4b085703b12c8f6846716fc69df7.zip
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
Diffstat (limited to 'apps/examples/cdcacm')
-rw-r--r--apps/examples/cdcacm/cdcacm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/cdcacm/cdcacm.h b/apps/examples/cdcacm/cdcacm.h
index 18570bff0..1b3b2511c 100644
--- a/apps/examples/cdcacm/cdcacm.h
+++ b/apps/examples/cdcacm/cdcacm.h
@@ -112,7 +112,7 @@
#ifdef CONFIG_CPP_HAVE_VARARGS
# ifdef CONFIG_DEBUG
-# define message(...) lib_lowprintf(__VA_ARGS__)
+# define message(...) lowsyslog(__VA_ARGS__)
# define msgflush()
# else
# define message(...) printf(__VA_ARGS__)
@@ -120,7 +120,7 @@
# endif
#else
# ifdef CONFIG_DEBUG
-# define message lib_lowprintf
+# define message lowsyslog
# define msgflush()
# else
# define message printf