diff options
| author | IngHK <[email protected]> | 2023-12-26 12:24:54 +0100 |
|---|---|---|
| committer | IngHK <[email protected]> | 2023-12-26 12:24:54 +0100 |
| commit | a39be99a58847318e67d06db17c24e481d318f08 (patch) | |
| tree | a59deb81fbb8b320b3f8a6fd568ee70fe464e87b /src/common | |
| parent | 804f6718ed422ff6aa0dc4f4d547053b1d05c699 (diff) | |
improved hex debug print, improved USBH debug prints, added pid/vid debug print
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_debug.h b/src/common/tusb_debug.h index 0f4dc93f3..8db1606ae 100644 --- a/src/common/tusb_debug.h +++ b/src/common/tusb_debug.h @@ -76,7 +76,7 @@ static inline void tu_print_buf(uint8_t const* buf, uint32_t bufsize) { #define TU_LOG1_MEM tu_print_mem #define TU_LOG1_BUF(_x, _n) tu_print_buf((uint8_t const*)(_x), _n) #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) ) +#define TU_LOG1_HEX(_x) tu_printf(#_x " = 0x%lX\r\n", (unsigned long) (_x) ) // Log Level 2: Warn #if CFG_TUSB_DEBUG >= 2 |
