From 55d6218b9a17f23754bd00d2759800a1447599ca Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 3 Feb 2015 22:37:50 +0000 Subject: stmhal: Properly define pyb.usb_mode() semantics. --- stmhal/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stmhal/main.c') diff --git a/stmhal/main.c b/stmhal/main.c index d2aaf89ac..2cb25d864 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 -- cgit v1.2.3