Skip to content

Commit 75ab800

Browse files
author
binraymaker
committed
printf without 2nd argument bug fix
1 parent d22103d commit 75ab800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/usart.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
#if defined(USART_PRINTF_REDIRECT)
4646
#define USART_Printf(_F, ...) { \
4747
PRINT_OutFunction(USART_Write); \
48-
PRINT_Printf((uint8_t*)(_F), __VA_ARGS__); \
48+
PRINT_Printf((uint8_t*)(_F), ##__VA_ARGS__); \
4949
}
5050
#else
5151
#define USART_Printf(_F, ...)

0 commit comments

Comments
 (0)