STM32: USB: properly catch device's GET_DESCRIPTOR requests
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 21 Sep 2010 10:37:55 +0000 (10:37 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 21 Sep 2010 10:37:55 +0000 (10:37 +0000)
commitb1056056af96239f48cd2f7c57b394c7a0c4ccbe
tree5e19cba8723e5034a224043b4a207d12936cdac0
parentb99f90d2a518e551e4147f440adc405872586d20
STM32: USB: properly catch device's GET_DESCRIPTOR requests

Getting descriptor for a device is a standard request (e.g., USB HID
requires this). So, be sure to call the device's event handler when this
request occurs.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4253 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/cpu/cortex-m3/drv/usb_stm32.c
bertos/drv/usb.h