mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-23 17:42:22 +00:00
clean up
This commit is contained in:
parent
6b2b6aaa3f
commit
cfd5e1e6d1
@ -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
|
||||
//--------------------------------------------------------------------+
|
||||
|
Loading…
x
Reference in New Issue
Block a user