summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-04-02 14:28:41 +0700
committerhathach <[email protected]>2024-04-02 16:04:03 +0700
commite802fe0677c901a444e7c9b5d67be2a1f400adee (patch)
treea2e436931d30244ba79159125f961dd09b7676a2 /src/tusb_option.h
parentbd2210b812cca0f56fc54ab9ebe3e48482baa653 (diff)
refactor: add hxfr per endpoint
Diffstat (limited to 'src/tusb_option.h')
-rw-r--r--src/tusb_option.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index 18cc8a82c..f90fb7026 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -34,7 +34,7 @@
#define TUSB_VERSION_MAJOR 0
#define TUSB_VERSION_MINOR 16
#define TUSB_VERSION_REVISION 0
-#define TUSB_VERSION_BUILD 1
+#define TUSB_VERSION_BUILD 2
#define TUSB_VERSION_NUMBER (TUSB_VERSION_MAJOR << 24 | TUSB_VERSION_MINOR << 16 | TUSB_VERSION_REVISION << 8 | TUSB_VERSION_BUILD)
#define TUSB_VERSION_STRING TU_STRING(TUSB_VERSION_MAJOR) "." TU_STRING(TUSB_VERSION_MINOR) "." TU_STRING(TUSB_VERSION_REVISION)
@@ -529,17 +529,6 @@
#define CFG_TUH_MAX3421 0
#endif
-// MAX3421 Host max. transfer attempts per frame (except control and iso)
-// retry quantity = (CFG_TUH_MAX3421_MAX_ATTEMPS_PER_FRAME - 1)
-// 0 = endless retries. is default to keep compatibility
-// => this may overload MCU with permanently repeating NAK interrupts
-// => possible increased USB traffic, increased latencies, reduced data throughput
-// a usual attempt quantity is 3 (reference: the book "USB Complete" by Jan Axelson)
-#ifndef CFG_TUH_MAX3421_MAX_ATTEMPTS_PER_FRAME
- #define CFG_TUH_MAX3421_MAX_ATTEMPTS_PER_FRAME 0
-#endif
-
-
//--------------------------------------------------------------------+
// TypeC Options (Default)
//--------------------------------------------------------------------+