1
0
mirror of https://github.com/hathach/tinyusb.git synced 2025-04-22 14:42:25 +00:00
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
examples
device/nrf52840/src
obsolete/device/src
src/class/msc

@ -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
//--------------------------------------------------------------------+