disable usb msc for feather nrf52840 for now

This commit is contained in:
hathach committed 2018-12-21 01:56:59 +07:00
1 parent 1b687084aa
commit fbfb784e45
2 files changed
+11

No files matched your search

+7
View File
@@ -85,7 +85,14 @@
//------------- CLASS -------------//
#define CFG_TUD_CDC 1
// disable msc for feather nrf52840 for now until have a more stable QSPI driver
#ifdef ARDUINO_NRF52840_FEATHER
#define CFG_TUD_MSC 0
#else
#define CFG_TUD_MSC 1
#endif
#define CFG_TUD_HID 0
#define CFG_TUD_HID_KEYBOARD 0
@@ -72,6 +72,7 @@ const uint32_t g_ADigitalPinMap[] =
48, 49, 50, 51, 52, 53, 54, 55,
56, 57, 58, 59, 60, 61, 62, 63
};
void initVariant()
{
// LED1 & LED2
@@ -81,8 +82,11 @@ void initVariant()
pinMode(PIN_LED2, OUTPUT);
ledOff(PIN_LED2);
#if 0 // disable QSPI flash for now
// Init External Flash
flash_qspi_init();
#endif
// USB init
usb_init();