打开log 防止初始化完成之前进入usb中断

This commit is contained in:
2025-09-20 15:40:53 +08:00
parent 6f4c32755b
commit bfab364bd1
4 changed files with 6 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ extern char const* const tu_str_xfer_result[];
void tu_print_mem(void const *buf, uint32_t count, uint8_t indent);
#ifdef CFG_TUSB_DEBUG_PRINTF
extern int CFG_TUSB_DEBUG_PRINTF(const char *format, ...);
extern void CFG_TUSB_DEBUG_PRINTF(const char *format, ...);
#define tu_printf CFG_TUSB_DEBUG_PRINTF
#else
#define tu_printf printf