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:
Karl Palsson
2014-08-21 23:55:33 +00:00
parent 7f215cb6fa
commit 9852282bcf

View File

@@ -204,8 +204,6 @@ static void cdcacm_data_rx_cb(usbd_device *usbd_dev, uint8_t ep)
if (len) {
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)