git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3261 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
339cbbd60e
commit
76f8d18aaf
|
@ -234,9 +234,9 @@ void sduStop(SerialUSBDriver *sdup) {
|
|||
chDbgAssert((sdup->state == SDU_STOP) || (sdup->state == SDU_READY),
|
||||
"sduStop(), #1",
|
||||
"invalid state");
|
||||
usbStop(sdup->config->usbp);
|
||||
sdup->state = SDU_STOP;
|
||||
chSysUnlock();
|
||||
usbStop(sdup->config->usbp);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue