summaryrefslogtreecommitdiff
path: root/common/debug.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-06-16 15:38:39 +0900
committertmk <nobody@nowhere>2014-07-30 14:07:43 +0900
commit04fe78ee0a7fe9baed39f021799a3dbb24ebeb36 (patch)
tree047ab27ca15eedfcc5523ac0daf243611501ef5e /common/debug.h
parent867f115bee190515aa195dc3e58f1c381ea9695b (diff)
Fix print and timer
Diffstat (limited to 'common/debug.h')
-rw-r--r--common/debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/debug.h b/common/debug.h
index 399b2d0a7c..8ca2569a49 100644
--- a/common/debug.h
+++ b/common/debug.h
@@ -25,13 +25,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef NO_DEBUG
#define dprint(s) do { if (debug_enable) print(s); } while (0)
-#define dprintln() do { if (debug_enable) print_crlf(); } while (0)
+#define dprintln(s) do { if (debug_enable) println(s); } 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 */
#define debug(s) do { if (debug_enable) print(s); } while (0)
-#define debugln(s) do { if (debug_enable) print_crlf(); } while (0)
+#define debugln(s) do { if (debug_enable) println(s); } while (0)
#define debug_S(s) do { if (debug_enable) print_S(s); } while (0)
#define debug_P(s) do { if (debug_enable) print_P(s); } while (0)
#define debug_msg(s) do { \