summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-10-26 22:48:01 +0700
committerhathach <[email protected]>2021-10-26 22:48:01 +0700
commitbb5dab5c2e81be277214a6704a8d90e89a5b4759 (patch)
treeb3aa054b11b2e6a5e6de8365eb1655fe1bbdcc96 /src/common
parent68fa9d406495410914b55c50984d5a1b821ee80c (diff)
add hw config struct
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/tusb_common.h b/src/common/tusb_common.h
index bf9641622..e62bcde12 100644
--- a/src/common/tusb_common.h
+++ b/src/common/tusb_common.h
@@ -303,8 +303,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\r\n", (uint32_t) (_x) )
-#define TU_LOG1_HEX(_x) tu_printf(#_x " = %lX\r\n", (uint32_t) (_x) )
+#define TU_LOG1_INT(_x) tu_printf(#_x " = %ld\r\n", (unsigned long) (_x) )
+#define TU_LOG1_HEX(_x) tu_printf(#_x " = %lX\r\n", (unsigned long) (_x) )
// Log Level 2: Warn
#if CFG_TUSB_DEBUG >= 2