aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f1/other/usb_cdcacm/cdcacm.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_cdcacm/cdcacm.c
parentf83f8d55d784ea9e3e48ab074f92f7b63a9af956 (diff)
Fixed compilation of all the examples after merging pull requests...
Diffstat (limited to 'examples/stm32/f1/other/usb_cdcacm/cdcacm.c')
-rw-r--r--examples/stm32/f1/other/usb_cdcacm/cdcacm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32/f1/other/usb_cdcacm/cdcacm.c b/examples/stm32/f1/other/usb_cdcacm/cdcacm.c
index 81250b5..3aa7289 100644
--- a/examples/stm32/f1/other/usb_cdcacm/cdcacm.c
+++ b/examples/stm32/f1/other/usb_cdcacm/cdcacm.c
@@ -242,7 +242,7 @@ int main(void)
gpio_set_mode(GPIOA, GPIO_MODE_INPUT, 0, GPIO15);
- usbd_dev = usbd_init(&stm32f103_usb_driver, &dev, &config, usb_strings);
+ usbd_dev = usbd_init(&stm32f103_usb_driver, &dev, &config, usb_strings, 4);
usbd_register_set_config_callback(usbd_dev, cdcacm_set_config);
gpio_set(GPIOA, GPIO15);