stm32f103: fix all usb driver

Correctly migrate stm32f103_usb_driver to st_usbfs_v1_driver instead of the
f107 driver.

Fixes: 976720c355
Reviewed-by: Karl Palsson <karlp@tweak.net.au>
This commit is contained in:
Zhiyuan Wan
2016-01-03 16:32:08 +08:00
committed by Karl Palsson
parent 8ce9536b2e
commit 7322fdcdb9
8 changed files with 8 additions and 8 deletions

View File

@@ -251,7 +251,7 @@ int main(void)
AFIO_MAPR |= AFIO_MAPR_SWJ_CFG_JTAG_OFF_SW_ON;
usbd_dev = usbd_init(&stm32f107_usb_driver,
usbd_dev = usbd_init(&st_usbfs_v1_usb_driver,
&dev,
&config,
usb_strings,