diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-05-01 15:50:35 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-05-01 15:50:35 +0000 |
commit | 11ecb1a7586ddaf6276a087d51de829b00d5f386 (patch) | |
tree | 4f5ad4b7ef204329156c779c6166bd8f70d5222c /testhal/STM32F4xx | |
parent | b920c0b7ff759436162a961fc97242473b1a9554 (diff) | |
download | ChibiOS-11ecb1a7586ddaf6276a087d51de829b00d5f386.tar.gz ChibiOS-11ecb1a7586ddaf6276a087d51de829b00d5f386.tar.bz2 ChibiOS-11ecb1a7586ddaf6276a087d51de829b00d5f386.zip |
Fixed problem with multiple SerialUSB instances.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5651 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F4xx')
-rw-r--r-- | testhal/STM32F4xx/USB_CDC/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testhal/STM32F4xx/USB_CDC/main.c b/testhal/STM32F4xx/USB_CDC/main.c index ecf575b4a..8bdf3c0ba 100644 --- a/testhal/STM32F4xx/USB_CDC/main.c +++ b/testhal/STM32F4xx/USB_CDC/main.c @@ -294,7 +294,7 @@ static void usb_event(USBDriver *usbp, usbevent_t event) { usbInitEndpointI(usbp, USBD2_INTERRUPT_REQUEST_EP, &ep2config);
/* Resetting the state of the CDC subsystem.*/
- sduConfigureHookI(usbp);
+ sduConfigureHookI(&SDU2);
chSysUnlockFromIsr();
return;
|