diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-17 05:03:56 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-17 05:03:56 +0000 |
commit | cad79d42e885dd416f8b9e1e35e47c39deef189a (patch) | |
tree | 8a2e3935c2b33b0297e32f4749ffd9c13aae90cc /os/hal | |
parent | 456a8cbd82f200dda163e7997d60fe4a92c5841e (diff) | |
download | ChibiOS-cad79d42e885dd416f8b9e1e35e47c39deef189a.tar.gz ChibiOS-cad79d42e885dd416f8b9e1e35e47c39deef189a.tar.bz2 ChibiOS-cad79d42e885dd416f8b9e1e35e47c39deef189a.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4281 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/platforms/STM32/OTGv1/usb_lld.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/platforms/STM32/OTGv1/usb_lld.c b/os/hal/platforms/STM32/OTGv1/usb_lld.c index 7987d6a5e..005bfdede 100644 --- a/os/hal/platforms/STM32/OTGv1/usb_lld.c +++ b/os/hal/platforms/STM32/OTGv1/usb_lld.c @@ -317,7 +317,7 @@ static void otg_fifo_write_from_queue(usbep_t ep, }
/* If this condition is not satisfied then there is a word lying across
- queue circular buffer boundary or there is a residual of data.*/
+ queue circular buffer boundary or there are some remaining bytes.*/
if (ntogo <= 0)
break;
@@ -331,7 +331,7 @@ static void otg_fifo_write_from_queue(usbep_t ep, ntogo--;
i++;
}
- *fifop = dw;
+ *fifop = w;
}
/* Updating queue.*/
@@ -427,7 +427,7 @@ static void otg_fifo_read_to_queue(InputQueue *iqp, size_t n) { }
/* If this condition is not satisfied then there is a word lying across
- queue circular buffer boundary or there is a residual of data.*/
+ queue circular buffer boundary or there are some remaining bytes.*/
if (ntogo <= 0)
break;
|