]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - common/debug.h
Add keyboard/mbed_onekey
[tmk_firmware.git] / common / debug.h
index 8aaa5ed915e2b62a9ada6ff3b9e6b628cc21122c..399b2d0a7c5f211feb5cb02ac366828bbb1ec47b 100644 (file)
@@ -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 */