summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-04-22 23:04:21 +0700
committerhathach <[email protected]>2020-04-22 23:04:21 +0700
commit10e035241f0ea4bf8604fab2556fd65be16137b9 (patch)
tree30263a1d3e3a9308ca84cd24388e8e6cbcb9e025 /src
parente2cd5159fd041240257eb2d200ccee09ce26d08c (diff)
house keeping
Diffstat (limited to 'src')
-rw-r--r--src/class/msc/msc_device.c2
1 files changed, 2 insertions, 0 deletions
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: