diff options
Diffstat (limited to 'nuttx/configs/sam3u-ek/src/up_lcd.c')
-rw-r--r-- | nuttx/configs/sam3u-ek/src/up_lcd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/configs/sam3u-ek/src/up_lcd.c b/nuttx/configs/sam3u-ek/src/up_lcd.c index 393e41f52..23a0e873e 100644 --- a/nuttx/configs/sam3u-ek/src/up_lcd.c +++ b/nuttx/configs/sam3u-ek/src/up_lcd.c @@ -159,14 +159,14 @@ /* Debug ******************************************************************************/ #ifdef CONFIG_LCD_REGDEBUG -# define regdbg(format, arg...) vdbg(format, ##arg) +# define regdbg(format, ...) vdbg(format, ##__VA_ARGS__) #else # define regdbg(x...) #endif #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...) |