git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9610 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
562e6c0313
commit
a104f03cd7
|
@ -321,8 +321,8 @@ void usbStop(USBDriver *usbp) {
|
||||||
|
|
||||||
"invalid state");
|
"invalid state");
|
||||||
usb_lld_stop(usbp);
|
usb_lld_stop(usbp);
|
||||||
spip->config = NULL;
|
usbp->config = NULL;
|
||||||
spip->state = USB_STOP;
|
usbp->state = USB_STOP;
|
||||||
|
|
||||||
/* Resetting all ongoing synchronous operations.*/
|
/* Resetting all ongoing synchronous operations.*/
|
||||||
for (i = 0; i <= (unsigned)USB_MAX_ENDPOINTS; i++) {
|
for (i = 0; i <= (unsigned)USB_MAX_ENDPOINTS; i++) {
|
||||||
|
|
Loading…
Reference in New Issue