aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f1/other/usb_dfu/usbdfu.c
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2013-01-06 18:32:18 -0800
committerPiotr Esden-Tempski2013-01-06 18:32:18 -0800
commit0eeca37e9fdcdac1a136984b05dc39fd61c4cd9f (patch)
tree36e059f257e5436c09c22a5d6156566ae43bca3b /examples/stm32/f1/other/usb_dfu/usbdfu.c
parentf83f8d55d784ea9e3e48ab074f92f7b63a9af956 (diff)
Fixed compilation of all the examples after merging pull requests...
Diffstat (limited to 'examples/stm32/f1/other/usb_dfu/usbdfu.c')
-rw-r--r--examples/stm32/f1/other/usb_dfu/usbdfu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32/f1/other/usb_dfu/usbdfu.c b/examples/stm32/f1/other/usb_dfu/usbdfu.c
index 44dde16..8c7493f 100644
--- a/examples/stm32/f1/other/usb_dfu/usbdfu.c
+++ b/examples/stm32/f1/other/usb_dfu/usbdfu.c
@@ -251,7 +251,7 @@ int main(void)
rcc_peripheral_enable_clock(&RCC_AHBENR, RCC_AHBENR_OTGFSEN);
- usbd_dev = usbd_init(&stm32f107_usb_driver, &dev, &config, usb_strings);
+ usbd_dev = usbd_init(&stm32f107_usb_driver, &dev, &config, usb_strings, 5);
usbd_set_control_buffer_size(usbd_dev, sizeof(usbd_control_buffer));
usbd_register_control_callback(
usbd_dev,