summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-03-17 10:24:37 +0700
committerhathach <[email protected]>2020-03-17 10:24:37 +0700
commitf8d6bbe43b788031f4fbd2986e9f6cd8911ba19d (patch)
tree135e39b5f315c49728350050b56dcaa3456d8704 /src/common
parent45e32a787bab61c61ad4a32f6c59d74f9d8aa4cd (diff)
parente47f9921570c75afd3288407601897c5b283f043 (diff)
Merge branch 'master' into develop
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_common.h2
-rw-r--r--src/common/tusb_verify.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/common/tusb_common.h b/src/common/tusb_common.h
index 5e6a8bb10..ef232a593 100644
--- a/src/common/tusb_common.h
+++ b/src/common/tusb_common.h
@@ -222,7 +222,7 @@ void tu_print_mem(void const *buf, uint16_t count, uint8_t indent);
// Log with debug level 1
#define TU_LOG1 tu_printf
#define TU_LOG1_MEM tu_print_mem
-#define TU_LOG1_LOCATION() tu_printf("%s: %d:\n", __PRETTY_FUNCTION__, __LINE__)
+#define TU_LOG1_LOCATION() tu_printf("%s: %d:\r\n", __PRETTY_FUNCTION__, __LINE__)
// Log with debug level 2
#if CFG_TUSB_DEBUG > 1
diff --git a/src/common/tusb_verify.h b/src/common/tusb_verify.h
index 1ad6d3fb0..74150d6c5 100644
--- a/src/common/tusb_verify.h
+++ b/src/common/tusb_verify.h
@@ -76,8 +76,8 @@
#if CFG_TUSB_DEBUG
#include <stdio.h>
- #define _MESS_ERR(_err) printf("%s %d: failed, error = %s\n", __func__, __LINE__, tusb_strerr[_err])
- #define _MESS_FAILED() printf("%s %d: assert failed\n", __func__, __LINE__)
+ #define _MESS_ERR(_err) printf("%s %d: failed, error = %s\r\n", __func__, __LINE__, tusb_strerr[_err])
+ #define _MESS_FAILED() printf("%s %d: assert failed\r\n", __func__, __LINE__)
#else
#define _MESS_ERR(_err)
#define _MESS_FAILED()