clean up
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
// If not enabled, application must call tud_cdc_flush() periodically
|
||||
#define CFG_TUD_CDC_FLUSH_ON_SOF 1
|
||||
|
||||
// Number of supported Logical Unit Number
|
||||
// Number of supported Logical Unit Number (At least 1)
|
||||
#define CFG_TUD_MSC_MAXLUN 1
|
||||
|
||||
// Buffer size of Device Mass storage
|
||||
|
@@ -86,7 +86,7 @@
|
||||
#define CFG_TUD_CDC_FLUSH_ON_SOF 1
|
||||
|
||||
|
||||
// Number of supported Logical Unit Number
|
||||
// Number of supported Logical Unit Number (At least 1)
|
||||
#define CFG_TUD_MSC_MAXLUN 1
|
||||
|
||||
// Buffer size of Device Mass storage
|
||||
|
@@ -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
|
||||
//--------------------------------------------------------------------+
|
||||
|
Reference in New Issue
Block a user