This commit is contained in:
hathach
2018-07-01 15:54:40 +07:00
parent 19eb62ebe4
commit a08cb6e727
7 changed files with 52 additions and 287 deletions

View File

@@ -51,7 +51,9 @@
VERIFY_STATIC(CFG_TUD_MSC_BUFSIZE < UINT16_MAX, "Size is not correct");
#ifndef CFG_TUD_MSC_MAXLUN
#define CFG_TUD_MSC_MAXLUN 1
#define CFG_TUD_MSC_MAXLUN 1
#elif CFG_TUD_MSC_MAXLUN == 0 || CFG_TUD_MSC_MAXLUN > 16
#error MSC Device: Incorrect setting of MAX LUN
#endif
//--------------------------------------------------------------------+

View File

@@ -205,13 +205,6 @@
#error Control Endpoint Max Package Size cannot larger than 64
#endif
#if CFG_TUD_MSC_MAXLUN == 0 || CFG_TUD_MSC_MAXLUN > 16
#error MSC Device: Incorrect setting of MAX LUN
#endif
//#if CFG_TUD_MSC_BUFSIZE
#endif /* _TUSB_OPTION_H_ */
/** @} */