summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorScott Shawcroft <[email protected]>2021-10-22 08:55:10 -0700
committerGitHub <[email protected]>2021-10-22 08:55:10 -0700
commit4279ad7d6e0f103c347f91d3d6b40c9a543d10b2 (patch)
tree52dc32dc5cee57b674cfeb12d71a615bf45dcbd4 /src/common
parent4ab14867daf1d9df414f1175cbaac70c0d799257 (diff)
parent5e437ee1861363e6b02facc5ab814abd67173680 (diff)
Merge pull request #1 from hathach/tannewt-rpi
pi cm4 enumerated as full speed device
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 1899b35cc..9614c12cf 100644
--- a/src/common/tusb_common.h
+++ b/src/common/tusb_common.h
@@ -337,8 +337,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