diff options
| author | hathach <[email protected]> | 2021-06-11 17:14:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-06-11 17:14:22 +0700 |
| commit | 572d986a0260543ada22592e3f2216a152ac632d (patch) | |
| tree | bad8ee866d7457338b6b423075e41f61b3056396 /src/common | |
| parent | a1a03c92f66e0c2cae5198341c322182302a1229 (diff) | |
improve usbh
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/tusb_common.h b/src/common/tusb_common.h index 889ad7b25..fe5bf5f41 100644 --- a/src/common/tusb_common.h +++ b/src/common/tusb_common.h @@ -317,8 +317,8 @@ void tu_print_var(uint8_t const* buf, uint32_t bufsize) #define TU_LOG1 tu_printf #define TU_LOG1_MEM tu_print_mem #define TU_LOG1_VAR(_x) tu_print_var((uint8_t const*)(_x), sizeof(*(_x))) -#define TU_LOG1_INT(_x) tu_printf(#_x " = %ld\n", (uint32_t) (_x) ) -#define TU_LOG1_HEX(_x) tu_printf(#_x " = %lX\n", (uint32_t) (_x) ) +#define TU_LOG1_INT(_x) tu_printf(#_x " = %ld\r\n", (uint32_t) (_x) ) +#define TU_LOG1_HEX(_x) tu_printf(#_x " = %lX\r\n", (uint32_t) (_x) ) // Log Level 2: Warn #if CFG_TUSB_DEBUG >= 2 |
