Skip to content

Commit 86cbf95

Browse files
committed
fix(tusb_debug): Added stdio include when CFG_TUSB_DEBUG_PRINTF if defined
1 parent 5080fa8 commit 86cbf95

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common/tusb_debug.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ extern char const* const tu_str_xfer_result[];
5252
void tu_print_mem(void const *buf, uint32_t count, uint8_t indent);
5353

5454
#ifdef CFG_TUSB_DEBUG_PRINTF
55+
#include <stdio.h>
5556
extern int CFG_TUSB_DEBUG_PRINTF(const char *format, ...);
5657
#define tu_printf CFG_TUSB_DEBUG_PRINTF
5758
#else

0 commit comments

Comments
 (0)