summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-06-12 23:14:48 +0700
committerGitHub <[email protected]>2023-06-12 23:14:48 +0700
commitbbc76e77779a88fddcfc4d38a406edff2b4d09fb (patch)
tree8384cc562433893165ef8d2c403f3b8d22aa7e65 /src/tusb_option.h
parent39a64334aaf815b1b01e246680dd1e2d21f9fd18 (diff)
parent41801c2a6bd146033f5ff00e54983de46ab414b9 (diff)
Merge pull request #2104 from hathach/g4-pd
Initial support for USB PD stack
Diffstat (limited to 'src/tusb_option.h')
-rw-r--r--src/tusb_option.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index 948c9edf3..bb669e693 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -483,6 +483,16 @@
#endif
+//--------------------------------------------------------------------+
+// TypeC Options (Default)
+//--------------------------------------------------------------------+
+
+#ifndef CFG_TUC_ENABLED
+#define CFG_TUC_ENABLED 0
+
+#define tuc_int_handler(_p)
+#endif
+
//------------------------------------------------------------------
// Configuration Validation
//------------------------------------------------------------------