aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f1/other/usb_dfu/usbdfu.c
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2013-01-09 00:39:42 -0800
committerPiotr Esden-Tempski2013-01-09 00:39:42 -0800
commitcb2fd43666315888df3babcc758e406d93abc53b (patch)
tree982ed79b5c836ff95a2f270a062995c0d34e5732 /examples/stm32/f1/other/usb_dfu/usbdfu.c
parent61f2cb3f993c0f00504e46be48de8c535c9408b4 (diff)
Removed dummy character string from examples due to api change in: 7a5da60
Diffstat (limited to 'examples/stm32/f1/other/usb_dfu/usbdfu.c')
-rw-r--r--examples/stm32/f1/other/usb_dfu/usbdfu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/stm32/f1/other/usb_dfu/usbdfu.c b/examples/stm32/f1/other/usb_dfu/usbdfu.c
index 8c7493f..d1efe4a 100644
--- a/examples/stm32/f1/other/usb_dfu/usbdfu.c
+++ b/examples/stm32/f1/other/usb_dfu/usbdfu.c
@@ -106,7 +106,6 @@ const struct usb_config_descriptor config = {
};
static const char *usb_strings[] = {
- "x",
"Black Sphere Technologies",
"DFU Demo",
"DEMO",
@@ -251,7 +250,7 @@ int main(void)
rcc_peripheral_enable_clock(&RCC_AHBENR, RCC_AHBENR_OTGFSEN);
- usbd_dev = usbd_init(&stm32f107_usb_driver, &dev, &config, usb_strings, 5);
+ usbd_dev = usbd_init(&stm32f107_usb_driver, &dev, &config, usb_strings, 4);
usbd_set_control_buffer_size(usbd_dev, sizeof(usbd_control_buffer));
usbd_register_control_callback(
usbd_dev,