Add demos/bootloaders/projects overview to the manual.
This commit is contained in:
parent
7d7573e4e5
commit
189d0c7e66
5 changed files with 100 additions and 15 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue