git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4281 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
456a8cbd82
commit
cad79d42e8
|
@ -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
|
/* 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)
|
if (ntogo <= 0)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -331,7 +331,7 @@ static void otg_fifo_write_from_queue(usbep_t ep,
|
||||||
ntogo--;
|
ntogo--;
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
*fifop = dw;
|
*fifop = w;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Updating queue.*/
|
/* 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
|
/* 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)
|
if (ntogo <= 0)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue