summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/print.h
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-04-17 19:54:32 +0200
committerIBNobody <ibnobody@gmail.com>2016-04-17 19:54:32 +0200
commitd5b72e7bde5ede25f7d5699b50b7d9eb6f31ba92 (patch)
tree906fb97e49f1db6e3ddbbbca07cb3ff930d187d6 /tmk_core/common/print.h
parentc940e87235c9fe26f5c7451464af54a493270a68 (diff)
downloadqmk_firmware-d5b72e7bde5ede25f7d5699b50b7d9eb6f31ba92.tar.gz
qmk_firmware-d5b72e7bde5ede25f7d5699b50b7d9eb6f31ba92.tar.xz
Fixed many compiler warnings related to print being disabled
Diffstat (limited to 'tmk_core/common/print.h')
-rw-r--r--tmk_core/common/print.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/tmk_core/common/print.h b/tmk_core/common/print.h
index c0e9e1430..4f3dde65a 100644
--- a/tmk_core/common/print.h
+++ b/tmk_core/common/print.h
@@ -2,17 +2,17 @@
/* Very basic print functions, intended to be used with usb_debug_only.c
* http://www.pjrc.com/teensy/
* Copyright (c) 2008 PJRC.COM, LLC
- *
+ *
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
- *
+ *
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
- *
+ *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -91,9 +91,9 @@ void print_set_sendchar(int8_t (*print_sendchar_func)(uint8_t));
#else /* NO_PRINT */
-#define xprintf
-#define print
-#define println
+#define xprintf(fmt, ...)
+#define print(s)
+#define println(s)
#define print_set_sendchar(func)
#define print_dec(data)
#define print_decs(data)