diff options
Diffstat (limited to 'tmk_core/common/chibios/printf.h')
-rw-r--r-- | tmk_core/common/chibios/printf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tmk_core/common/chibios/printf.h b/tmk_core/common/chibios/printf.h index 2cdf55ed9..775459e1e 100644 --- a/tmk_core/common/chibios/printf.h +++ b/tmk_core/common/chibios/printf.h | |||
@@ -99,10 +99,10 @@ regs Kusti, 23.10.2004 | |||
99 | 99 | ||
100 | void init_printf(void* putp, void (*putf)(void*, char)); | 100 | void init_printf(void* putp, void (*putf)(void*, char)); |
101 | 101 | ||
102 | void tfp_printf(char* fmt, ...); | 102 | int tfp_printf(const char* fmt, ...); |
103 | void tfp_sprintf(char* s, char* fmt, ...); | 103 | int tfp_sprintf(char* s, const char* fmt, ...); |
104 | 104 | ||
105 | void tfp_format(void* putp, void (*putf)(void*, char), char* fmt, va_list va); | 105 | void tfp_format(void* putp, void (*putf)(void*, char), const char* fmt, va_list va); |
106 | 106 | ||
107 | #define printf tfp_printf | 107 | #define printf tfp_printf |
108 | #define sprintf tfp_sprintf | 108 | #define sprintf tfp_sprintf |