summaryrefslogtreecommitdiff
path: root/nuttx/configs/sam4l-xplained/src
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-05-22 09:01:51 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-05-22 09:01:51 -0600
commit54f7552fbc21a3959636225bd8e80ba95fc6750c (patch)
tree9cc321d2ef1c24efd225f33840e2349bb6e4abd2 /nuttx/configs/sam4l-xplained/src
parent34cc8f19dfc278d546a9dd8c00eebabe0bc3094d (diff)
downloadpx4-nuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.tar.gz
px4-nuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.tar.bz2
px4-nuttx-54f7552fbc21a3959636225bd8e80ba95fc6750c.zip
Change all variadic macros to C99 style
Diffstat (limited to 'nuttx/configs/sam4l-xplained/src')
-rw-r--r--nuttx/configs/sam4l-xplained/src/sam_ug2832hsweg04.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/sam4l-xplained/src/sam_ug2832hsweg04.c b/nuttx/configs/sam4l-xplained/src/sam_ug2832hsweg04.c
index c4a40b9c0..10000eb5e 100644
--- a/nuttx/configs/sam4l-xplained/src/sam_ug2832hsweg04.c
+++ b/nuttx/configs/sam4l-xplained/src/sam_ug2832hsweg04.c
@@ -114,8 +114,8 @@
/* Debug ********************************************************************/
#ifdef CONFIG_DEBUG_LCD
-# define lcddbg(format, arg...) dbg(format, ##arg)
-# define lcdvdbg(format, arg...) vdbg(format, ##arg)
+# define lcddbg(format, ...) dbg(format, ##__VA_ARGS__)
+# define lcdvdbg(format, ...) vdbg(format, ##__VA_ARGS__)
#else
# define lcddbg(x...)
# define lcdvdbg(x...)