stm32f4: drop dead code from usb example.
Presumably code that attempted to toggle a led, but it wasn't setup, and it's not in any other examples. Kill it for now. Reported-by: stefanct on irc.
This commit is contained in:
@@ -204,8 +204,6 @@ static void cdcacm_data_rx_cb(usbd_device *usbd_dev, uint8_t ep)
|
|||||||
if (len) {
|
if (len) {
|
||||||
while (usbd_ep_write_packet(usbd_dev, 0x82, buf, len) == 0);
|
while (usbd_ep_write_packet(usbd_dev, 0x82, buf, len) == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
gpio_toggle(GPIOC, GPIO5);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void cdcacm_set_config(usbd_device *usbd_dev, uint16_t wValue)
|
static void cdcacm_set_config(usbd_device *usbd_dev, uint16_t wValue)
|
||||||
|
|||||||
Reference in New Issue
Block a user