summaryrefslogtreecommitdiff
path: root/nuttx/configs/lpcxpresso-lpc1768
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/lpcxpresso-lpc1768
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/lpcxpresso-lpc1768')
-rw-r--r--nuttx/configs/lpcxpresso-lpc1768/src/up_oled.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_oled.c b/nuttx/configs/lpcxpresso-lpc1768/src/up_oled.c
index 00c5b37a8..a91473983 100644
--- a/nuttx/configs/lpcxpresso-lpc1768/src/up_oled.c
+++ b/nuttx/configs/lpcxpresso-lpc1768/src/up_oled.c
@@ -85,9 +85,9 @@
#endif
#ifdef CONFIG_DEBUG_LCD
-# define ugdbg(format, arg...) vdbg(format, ##arg)
-# define oleddc_dumpgpio(m) lpc17_dumpgpio(LPCXPRESSO_OLED_POWER, m)
-# define oledcs_dumpgpio(m) lpc17_dumpgpio(LPCXPRESSO_OLED_CS, m)
+# define ugdbg(format, ...) vdbg(format, ##__VA_ARGS__)
+# define oleddc_dumpgpio(m) lpc17_dumpgpio(LPCXPRESSO_OLED_POWER, m)
+# define oledcs_dumpgpio(m) lpc17_dumpgpio(LPCXPRESSO_OLED_CS, m)
#else
# define ugdbg(x...)
# define oleddc_dumpgpio(m)