summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--class/msc/usbh_msc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/class/msc/usbh_msc.c b/class/msc/usbh_msc.c
index fe91a5bf..12a4f673 100644
--- a/class/msc/usbh_msc.c
+++ b/class/msc/usbh_msc.c
@@ -284,6 +284,7 @@ static int usbh_msc_connect(struct usbh_hubport *hport, uint8_t intf)
if (ret == -USB_ERR_STALL) {
USB_LOG_WRN("Device does not support multiple LUNs\r\n");
g_msc_buf[msc_class->sdchar - 'a'][0] = 0;
+ ret = 0;
} else {
return ret;
}