renamed define NAK_RETRY_HANDLING to CFG_TUH_MAX3421_MAX_ATTEMPS_PER_FRAME as official option

This commit is contained in:
IngHK
2024-03-30 14:16:13 +01:00
parent 818c64efec
commit 11a54bc8e1
2 changed files with 14 additions and 4 deletions

View File

@@ -529,6 +529,15 @@
#define CFG_TUH_MAX3421 0
#endif
// MAX3421 Host max. transfer attemps per frame (except control and iso)
// temporary only one attemp (no retry) per frame allowed (more in work)
// retry quantity = (CFG_TUH_MAX3421_MAX_ATTEMPS_PER_FRAME - 1)
// 0 = endless retries in current frame. is default to keep compatibility
#ifndef CFG_TUH_MAX3421_MAX_ATTEMPS_PER_FRAME
#define CFG_TUH_MAX3421_MAX_ATTEMPS_PER_FRAME 0
#endif
//--------------------------------------------------------------------+
// TypeC Options (Default)
//--------------------------------------------------------------------+