diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-06 19:08:08 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-06 19:08:08 +0000 |
commit | 7c144ea54022c4b58865373f7bc2159b5a84cd8c (patch) | |
tree | ce595c91b1595ee6ad97c82887680eb1290e2955 /os | |
parent | a0e4706757eb0b1aaaa056d47befd20db0c1e5ff (diff) | |
download | ChibiOS-7c144ea54022c4b58865373f7bc2159b5a84cd8c.tar.gz ChibiOS-7c144ea54022c4b58865373f7bc2159b5a84cd8c.tar.bz2 ChibiOS-7c144ea54022c4b58865373f7bc2159b5a84cd8c.zip |
Fixed bug.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4634 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/src/usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/src/usb.c b/os/hal/src/usb.c index 2bf845e6e..db4d826c1 100644 --- a/os/hal/src/usb.c +++ b/os/hal/src/usb.c @@ -619,6 +619,7 @@ void _usb_ep0setup(USBDriver *usbp, usbep_t ep) { usb_lld_stall_out(usbp, 0);
_usb_isr_invoke_event_cb(usbp, USB_EVENT_STALLED);
usbp->ep0state = USB_EP0_ERROR;
+ return;
}
}
|