summaryrefslogtreecommitdiff
path: root/common/debug.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-06-15 13:56:17 +0900
committertmk <nobody@nowhere>2014-07-30 14:07:43 +0900
commitf15b2691c92e1d9b3c0e59363c803ec540303f37 (patch)
treee875f43e4726de490c90ec408b3a41f781762904 /common/debug.h
parent79840c678e13f9a737f80048bc3b9c9c55e3fc77 (diff)
Add keyboard/mbed_onekey
Diffstat (limited to 'common/debug.h')
-rw-r--r--common/debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/debug.h b/common/debug.h
index 8aaa5ed915..399b2d0a7c 100644
--- a/common/debug.h
+++ b/common/debug.h
@@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define dprint(s) do { if (debug_enable) print(s); } while (0)
#define dprintln() do { if (debug_enable) print_crlf(); } while (0)
-#define dprintf(fmt, ...) do { if (debug_enable) __xprintf(PSTR(fmt), ##__VA_ARGS__); } while (0)
+#define dprintf(fmt, ...) do { if (debug_enable) xprintf(fmt, ##__VA_ARGS__); } while (0)
#define dmsg(s) dprintf("%s at %s: %S\n", __FILE__, __LINE__, PSTR(s))
/* DO NOT USE these anymore */