Skip to content

Commit fc76195

Browse files
committed
define tuc_int_handler() to empty if TUC not enabled
1 parent 7fd0a17 commit fc76195

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tusb_option.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,8 @@
489489

490490
#ifndef CFG_TUC_ENABLED
491491
#define CFG_TUC_ENABLED 0
492+
493+
#define tuc_int_handler(_p)
492494
#endif
493495

494496
//------------------------------------------------------------------

0 commit comments

Comments
 (0)