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/xprintf.cpp | |
parent | 558f3ec1eb325caf706efc15e2fab26121aba442 (diff) | |
download | qmk_firmware-fe2aed0d1c8d1535c160755b76186972071aed02.tar.gz qmk_firmware-fe2aed0d1c8d1535c160755b76186972071aed02.zip |
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.cpp | 2 |
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 @@ | |||
7 | #define STRING_STACK_LIMIT 120 | 7 | #define STRING_STACK_LIMIT 120 |
8 | 8 | ||
9 | //TODO | 9 | //TODO |
10 | int xprintf(const char* format, ...) { return 0; } | 10 | int __xprintf(const char* format, ...) { return 0; } |
11 | 11 | ||
12 | #if 0 | 12 | #if 0 |
13 | /* mbed Serial */ | 13 | /* mbed Serial */ |