diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-28 12:57:21 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-28 12:57:21 +0000 |
commit | 76f8d18aaf60c6d916a799ba3d8b09815da979b2 (patch) | |
tree | 8d94c665185bbe3f25cd6dc785e05e956715a09b | |
parent | 339cbbd60e7c45bb21758cdfe264e8e1c78d4fd5 (diff) | |
download | ChibiOS-76f8d18aaf60c6d916a799ba3d8b09815da979b2.tar.gz ChibiOS-76f8d18aaf60c6d916a799ba3d8b09815da979b2.tar.bz2 ChibiOS-76f8d18aaf60c6d916a799ba3d8b09815da979b2.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3261 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/src/serial_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/src/serial_usb.c b/os/hal/src/serial_usb.c index 237d8e027..16822502a 100644 --- a/os/hal/src/serial_usb.c +++ b/os/hal/src/serial_usb.c @@ -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);
}
/**
|