]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - common/xprintf.h
Merge branch 'rhaberkorn-serial-mouse'
[tmk_firmware.git] / common / xprintf.h
index cddec994098e1b6525bd7a5209642f4528234ea8..f58bca817be791356cc11b2aed9a16841e03618d 100644 (file)
@@ -23,7 +23,7 @@ void xputc(char chr);
 \r
 \r
 /*-----------------------------------------------------------------------------*/\r
-void xputs(const prog_char *string);\r
+void xputs(const char *string_p);\r
 \r
 /*  The string placed in the ROM is forwarded to xputc() directly.\r
 */\r
@@ -51,9 +51,9 @@ void xitoa(long value, char radix, char width);
 #define xsprintf(str, format, ...)      __xsprintf(str, PSTR(format), ##__VA_ARGS__)\r
 #define xfprintf(func, format, ...)     __xfprintf(func, PSTR(format), ##__VA_ARGS__)\r
 \r
-void __xprintf(const prog_char *format, ...);  /* Send formatted string to the registered device */\r
-void __xsprintf(char*, const prog_char *format, ...);  /* Put formatted string to the memory */\r
-void __xfprintf(void(*func)(uint8_t), const prog_char *format, ...); /* Send formatted string to the specified device */\r
+void __xprintf(const char *format_p, ...);     /* Send formatted string to the registered device */\r
+void __xsprintf(char*, const char *format_p, ...);     /* Put formatted string to the memory */\r
+void __xfprintf(void(*func)(uint8_t), const char *format_p, ...); /* Send formatted string to the specified device */\r
 \r
 /* Format string is placed in the ROM. The format flags is similar to printf().\r
 \r