Fixed bug 3567992.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4665 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2012-09-15 18:14:43 +00:00
parent ea049f8f6f
commit 954a365b01
2 changed files with 7 additions and 0 deletions

View File

@ -260,6 +260,11 @@ void sduConfigureHookI(USBDriver *usbp) {
chIQResetI(&sdup->iqueue);
chOQResetI(&sdup->oqueue);
chnAddFlagsI(sdup, CHN_CONNECTED);
/* Starts the first OUT transaction immediately.*/
usbPrepareQueuedReceive(usbp, USB_CDC_DATA_AVAILABLE_EP, &sdup->iqueue,
usbp->epc[USB_CDC_DATA_AVAILABLE_EP]->out_maxsize);
usbStartReceiveI(usbp, USB_CDC_DATA_AVAILABLE_EP);
}
/**

View File

@ -83,6 +83,8 @@
*****************************************************************************
*** 2.5.1 ***
- FIX: Fixed Data available event not generated in serial_usb driver (bug
3567992).
- NEW: Added VLE support to the Power Architecture GCC port.
- NEW: Reorganized the Power Architecture GCC port along the lines of the
ARMCMx port, now it can support multiple core types.