diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-12 18:59:34 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-12 18:59:34 +0000 |
commit | 95d128420a70587ce2845df383ed9b6a165e58dc (patch) | |
tree | 4621b97f40a3b2c936e5a47c9f42601f28a5b6eb /os/hal/src | |
parent | d749ecc10a40b21a22b3e7ab14ff9861fabe4685 (diff) | |
download | ChibiOS-95d128420a70587ce2845df383ed9b6a165e58dc.tar.gz ChibiOS-95d128420a70587ce2845df383ed9b6a165e58dc.tar.bz2 ChibiOS-95d128420a70587ce2845df383ed9b6a165e58dc.zip |
Fixed a problem in the USB-CDC demo.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2733 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src')
-rw-r--r-- | os/hal/src/serial_usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/src/serial_usb.c b/os/hal/src/serial_usb.c index b17669c04..430218edb 100644 --- a/os/hal/src/serial_usb.c +++ b/os/hal/src/serial_usb.c @@ -124,7 +124,7 @@ static void inotify(GenericQueue *qp) { if (n != USB_ENDPOINT_BUSY) {
sdup->iqueue.q_rdptr = sdup->iqueue.q_buffer;
chSemSetCounterI(&sdup->iqueue.q_sem, n);
-// chIOAddFlagsI(sdup, IO_INPUT_AVAILABLE);
+ chIOAddFlagsI(sdup, IO_INPUT_AVAILABLE);
}
}
}
@@ -143,7 +143,7 @@ static void onotify(GenericQueue *qp) { if (n != USB_ENDPOINT_BUSY) {
sdup->oqueue.q_wrptr = sdup->oqueue.q_buffer;
chSemSetCounterI(&sdup->oqueue.q_sem, SERIAL_USB_BUFFERS_SIZE);
-// chIOAddFlagsI(sdup, IO_OUTPUT_EMPTY);
+ chIOAddFlagsI(sdup, IO_OUTPUT_EMPTY);
}
}
|