This commit is contained in:
hathach
2018-06-24 22:30:44 +07:00
parent 6b2b6aaa3f
commit cfd5e1e6d1
3 changed files with 8 additions and 2 deletions

View File

@@ -48,6 +48,12 @@
#include "msc_device.h"
#include "device/usbd_pvt.h"
VERIFY_STATIC(CFG_TUD_MSC_BUFSIZE < UINT16_MAX, "Size is not correct");
#ifndef CFG_TUD_MSC_MAXLUN
#define CFG_TUD_MSC_MAXLUN 1
#endif
//--------------------------------------------------------------------+
// MACRO CONSTANT TYPEDEF
//--------------------------------------------------------------------+