diff options
| author | hathach <[email protected]> | 2014-04-04 12:22:33 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-04-04 12:22:33 +0700 |
| commit | 68a56e52a271d8519e7ddb58b7e25d1de1d51540 (patch) | |
| tree | b5470d07770f09fb587e692622d7288bbc2134ab /tinyusb/device/usbd.c | |
| parent | 69f4d0ffbc79f3754dc8a7b07d1abe9e420eb05e (diff) | |
remove RF1GHZNODE from board/readme.md
dcd_lpc43xx.c
- assign ENDPTPRIME with = instead of |=
- fix bug with control transfer the determination of complete transferred --> fix keyboard + msc causes fast blinking
add osal_semaphore_reset(usbd_control_xfer_sem_hdl) when bus_reset
Diffstat (limited to 'tinyusb/device/usbd.c')
| -rw-r--r-- | tinyusb/device/usbd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tinyusb/device/usbd.c b/tinyusb/device/usbd.c index ac6a95fad..141c1e236 100644 --- a/tinyusb/device/usbd.c +++ b/tinyusb/device/usbd.c @@ -400,6 +400,7 @@ void usbd_dcd_bus_event_isr(uint8_t coreid, usbd_bus_event_type_t bus_event) case USBD_BUS_EVENT_RESET :
case USBD_BUS_EVENT_UNPLUGGED :
memclr_(&usbd_devices[coreid], sizeof(usbd_device_info_t));
+ osal_semaphore_reset(usbd_control_xfer_sem_hdl);
for (uint8_t class_code = TUSB_CLASS_AUDIO; class_code < USBD_CLASS_DRIVER_COUNT; class_code++)
{
if ( usbd_class_drivers[class_code].close ) usbd_class_drivers[class_code].close( coreid );
|
