diff options
Diffstat (limited to 'stmhal/main.c')
-rw-r--r-- | stmhal/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/main.c b/stmhal/main.c index d2aaf89acd..2cb25d8647 100644 --- a/stmhal/main.c +++ b/stmhal/main.c @@ -473,7 +473,7 @@ soft_reset: #if defined(USE_DEVICE_MODE) // init USB device to default setting if it was not already configured if (!(pyb_usb_flags & PYB_USB_FLAG_USB_MODE_CALLED)) { - pyb_usb_dev_init(USBD_PID_CDC_MSC, USBD_MODE_CDC_MSC, NULL); + pyb_usb_dev_init(USBD_VID, USBD_PID_CDC_MSC, USBD_MODE_CDC_MSC, NULL); } #endif |