summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-06-08 09:34:15 +0700
committerhathach <[email protected]>2023-06-08 09:34:15 +0700
commitfc761953b323b7565c42254fcfbb248520d83e0e (patch)
treeab61a5d65702488634cf8821c27537644a7246ab /src
parent7fd0a17bc3eb1e992865c851c3d24484131fa284 (diff)
define tuc_int_handler() to empty if TUC not enabled
Diffstat (limited to 'src')
-rw-r--r--src/tusb_option.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index 427d19719..bb669e693 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -489,6 +489,8 @@
#ifndef CFG_TUC_ENABLED
#define CFG_TUC_ENABLED 0
+
+#define tuc_int_handler(_p)
#endif
//------------------------------------------------------------------