diff options
author | IBNobody <IBNobody@users.noreply.github.com> | 2016-09-07 23:50:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-07 23:50:58 -0500 |
commit | fe2aed0d1c8d1535c160755b76186972071aed02 (patch) | |
tree | da8f2cb3cad4a7dc7e5e95b3594c98740b0da398 /tmk_core/common/mbed | |
parent | 558f3ec1eb325caf706efc15e2fab26121aba442 (diff) |
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')
-rw-r--r-- | tmk_core/common/mbed/xprintf.cpp | 2 | ||||
-rw-r--r-- | tmk_core/common/mbed/xprintf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/common/mbed/xprintf.cpp b/tmk_core/common/mbed/xprintf.cpp index 3647ece751..b1aac2c99d 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 */ diff --git a/tmk_core/common/mbed/xprintf.h b/tmk_core/common/mbed/xprintf.h index 26bc529e5b..1e7a48c06d 100644 --- a/tmk_core/common/mbed/xprintf.h +++ b/tmk_core/common/mbed/xprintf.h @@ -7,7 +7,7 @@ extern "C" { #endif -int xprintf(const char *format, ...); +int __xprintf(const char *format, ...); #ifdef __cplusplus } |