change the writeoc to NRF_QSPI_WRITEOC_PP4O

re-enable usb msc
This commit is contained in:
hathach committed 2018-11-27 15:15:18 +07:00
1 parent a91215fca4
commit 35e15993d0
4 files changed
+8 -4

No files matched your search

@@ -24,6 +24,7 @@
#include "nrf.h"
#include "usb.h"
#include "flash/flash_qspi.h"
const uint32_t g_ADigitalPinMap[] =
{
@@ -80,7 +81,10 @@ void initVariant()
pinMode(PIN_LED2, OUTPUT);
ledOff(PIN_LED2);
// USB init TODO may have trouble with ISR when SD is enabled
// Init External Flash
flash_qspi_init();
// USB init
usb_init();
}