We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cde585 commit d22103dCopy full SHA for d22103d
source/usart.h
@@ -43,9 +43,9 @@
43
/* Exported constants --------------------------------------------------------*/
44
/* Exported macro ------------------------------------------------------------*/
45
#if defined(USART_PRINTF_REDIRECT)
46
-#define USART_Printf(_F, ...) { \
47
- PRINT_OutFunction(USART_Write); \
48
- PRINT_Printf((_F), __VA_ARGS__); \
+#define USART_Printf(_F, ...) { \
+ PRINT_OutFunction(USART_Write); \
+ PRINT_Printf((uint8_t*)(_F), __VA_ARGS__); \
49
}
50
#else
51
#define USART_Printf(_F, ...)
0 commit comments