aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/common/mbed/xprintf.cpp
diff options
context:
space:
mode:
authorGravatar IBNobody <IBNobody@users.noreply.github.com>2016-09-07 23:50:58 -0500
committerGravatar GitHub <noreply@github.com>2016-09-07 23:50:58 -0500
commitfe2aed0d1c8d1535c160755b76186972071aed02 (patch)
treeda8f2cb3cad4a7dc7e5e95b3594c98740b0da398 /tmk_core/common/mbed/xprintf.cpp
parent558f3ec1eb325caf706efc15e2fab26121aba442 (diff)
downloadqmk_firmware-fe2aed0d1c8d1535c160755b76186972071aed02.tar.gz
Added User Print - A "light" console out option (#8)
User print disables the normal print messages in the body of QMK/TMK code and is meant as a lightweight alternative to NOPRINT. Use it when you only want to do a spot of debugging but lack flash resources for allowing all of the codebase to print (and store their wasteful strings).
Diffstat (limited to 'tmk_core/common/mbed/xprintf.cpp')
-rw-r--r--tmk_core/common/mbed/xprintf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/mbed/xprintf.cpp b/tmk_core/common/mbed/xprintf.cpp
index 3647ece75..b1aac2c99 100644
--- a/tmk_core/common/mbed/xprintf.cpp
+++ b/tmk_core/common/mbed/xprintf.cpp
@@ -7,7 +7,7 @@
#define STRING_STACK_LIMIT 120
//TODO
-int xprintf(const char* format, ...) { return 0; }
+int __xprintf(const char* format, ...) { return 0; }
#if 0
/* mbed Serial */