Add demos/bootloaders/projects overview to the manual.

This commit is contained in:
Dean Camera 2009-06-22 11:32:51 +00:00
parent 7d7573e4e5
commit 189d0c7e66
5 changed files with 100 additions and 15 deletions

View file

@ -237,7 +237,7 @@ void CDC_Task(void)
if (Endpoint_IsOUTReceived())
{
/* Read the bytes in from the endpoint into the buffer while space is available */
while (Endpoint_BytesInEndpoint() && (BUFF_STATICSIZE - Rx_Buffer.Elements))
while (Endpoint_BytesInEndpoint() && (Rx_Buffer.Elements != BUFF_STATICSIZE))
{
/* Store each character from the endpoint */
Buffer_StoreElement(&Rx_Buffer, Endpoint_Read_Byte());