diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2016-04-20 17:30:41 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2016-04-20 17:30:41 +0900 |
commit | 437b2dc43ca2e9b39b7be40f41b233bbaa8f8362 (patch) | |
tree | a5f79be7bc5e7374244befe23955c700ea9407e7 /example-cdc/usb-cdc.c | |
parent | 3eac2459815c0826d811ed808e5d7687c03638b8 (diff) |
Update for STM32
Diffstat (limited to 'example-cdc/usb-cdc.c')
-rw-r--r-- | example-cdc/usb-cdc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/example-cdc/usb-cdc.c b/example-cdc/usb-cdc.c index d2c4961..6af47a8 100644 --- a/example-cdc/usb-cdc.c +++ b/example-cdc/usb-cdc.c @@ -163,13 +163,7 @@ uint32_t bDeviceState = UNCONNECTED; /* USB device status */ void usb_cb_device_reset (void) { - /* Set DEVICE as not configured */ - usb_lld_set_configuration (0); - - /* Current Feature initialization */ - usb_lld_set_feature (vcom_config_desc[7]); - - usb_lld_reset (); + usb_lld_reset (vcom_config_desc[7]); /* Initialize Endpoint 0 */ usb_lld_setup_endpoint (ENDP0, EP_CONTROL, 0, ENDP0_RXADDR, ENDP0_TXADDR, 64); |