summaryrefslogtreecommitdiff
path: root/tmk_core/common/mbed/xprintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/mbed/xprintf.h')
-rw-r--r--tmk_core/common/mbed/xprintf.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/tmk_core/common/mbed/xprintf.h b/tmk_core/common/mbed/xprintf.h
new file mode 100644
index 0000000000..26bc529e5b
--- /dev/null
+++ b/tmk_core/common/mbed/xprintf.h
@@ -0,0 +1,17 @@
+#ifndef XPRINTF_H
+#define XPRINTF_H
+
+//#define xprintf(format, ...) __xprintf(format, ##__VA_ARGS__)
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int xprintf(const char *format, ...);
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif