From 10e035241f0ea4bf8604fab2556fd65be16137b9 Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 22 Apr 2020 23:04:21 +0700 Subject: [PATCH] house keeping --- examples/readme.md | 4 ++-- src/class/msc/msc_device.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/readme.md b/examples/readme.md index 8d3d2e415..1c85214e9 100644 --- a/examples/readme.md +++ b/examples/readme.md @@ -52,8 +52,8 @@ By default log message is printed via on-board UART which is slow and take lots - Software viewer is JLink RTT Viewer/Client/Logger which is bundled with JLink driver package. - `LOGGER=swo`: Use dedicated SWO pin of ARM Cortex SWD debug header. - Cons: only work with ARM Cortex MCUs minus M0 - - Pros: even faster than RTT, and should be compatible with hardware and software debugger that support SWO. - - Software viewer is JLink SWO Viewer which is also bundled with JLink driver package. + - Pros: should be compatible with more debugger that support SWO. + - Software viewer should be provided along with your debugger driver. ``` $ make LOG=2 LOGGER=rtt BOARD=feather_nrf52840_express all diff --git a/src/class/msc/msc_device.c b/src/class/msc/msc_device.c index 68f5587fd..70ba956aa 100644 --- a/src/class/msc/msc_device.c +++ b/src/class/msc/msc_device.c @@ -605,6 +605,8 @@ bool mscd_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t event, uint32_t else { // Invoke complete callback if defined + // Note: There is racing issue with samd51 + qspi flash testing with arduino + // if complete_cb() is invoked after queuing the status. switch(p_cbw->command[0]) { case SCSI_CMD_READ_10: