diff options
| author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-15 18:14:43 +0000 | 
|---|---|---|
| committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-15 18:14:43 +0000 | 
| commit | 954a365b01c1c755752e61f600408fe72759f47c (patch) | |
| tree | 0cdc5e84daf8cf39e7e5411daa0db702c49b555a | |
| parent | ea049f8f6f43fe604797985c7d803825909a7177 (diff) | |
| download | ChibiOS-954a365b01c1c755752e61f600408fe72759f47c.tar.gz ChibiOS-954a365b01c1c755752e61f600408fe72759f47c.tar.bz2 ChibiOS-954a365b01c1c755752e61f600408fe72759f47c.zip  | |
Fixed bug 3567992.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4665 35acf78f-673a-0410-8e92-d51de3d6d3f4
| -rw-r--r-- | os/hal/src/serial_usb.c | 5 | ||||
| -rw-r--r-- | readme.txt | 2 | 
2 files changed, 7 insertions, 0 deletions
diff --git a/os/hal/src/serial_usb.c b/os/hal/src/serial_usb.c index 9b36be413..9cef45524 100644 --- a/os/hal/src/serial_usb.c +++ b/os/hal/src/serial_usb.c @@ -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);
  }
  /**
 diff --git a/readme.txt b/readme.txt index 69b11ab14..c465f4acf 100644 --- a/readme.txt +++ b/readme.txt @@ -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.
  | 
