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 /keyboards/planck/keymaps/pvc/config.h | |
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 'keyboards/planck/keymaps/pvc/config.h')
-rw-r--r-- | keyboards/planck/keymaps/pvc/config.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/keyboards/planck/keymaps/pvc/config.h b/keyboards/planck/keymaps/pvc/config.h index 1113372b0a..1004c8b99f 100644 --- a/keyboards/planck/keymaps/pvc/config.h +++ b/keyboards/planck/keymaps/pvc/config.h @@ -68,10 +68,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* disable debug print */ -//#define NO_DEBUG +#ifndef NO_DEBUG +# define NO_DEBUG +#endif /* disable print */ -//#define NO_PRINT +// #ifndef NO_PRINT +// # define NO_PRINT +// #endif + +/* Only print user print statements */ +#define USER_PRINT + /* disable action features */ //#define NO_ACTION_LAYER |