X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/76d5e99bb8765030a7f99e7b5adf9bae7f92e0ba..eeba38e343a299e12964aec15fd43108d3dc9130:/Demos/Host/CDCHost/CDCHost.c diff --git a/Demos/Host/CDCHost/CDCHost.c b/Demos/Host/CDCHost/CDCHost.c index b499a275e..a4194090a 100644 --- a/Demos/Host/CDCHost/CDCHost.c +++ b/Demos/Host/CDCHost/CDCHost.c @@ -246,7 +246,7 @@ TASK(USB_CDC_Host) { /* Get the length of the pipe data, and create a new buffer to hold it */ uint16_t BufferLength = Pipe_BytesInPipe(); - uint8_t Buffer[BufferLength]; + uint8_t Buffer[BufferLength]; /* Read in the pipe data to the temporary buffer */ Pipe_Read_Stream_LE(Buffer, BufferLength); @@ -267,7 +267,7 @@ TASK(USB_CDC_Host) /* Check if a packet has been received */ if (Pipe_IsINReceived()) { - /* Discard the event notification */ + /* Discard the unused event notification */ Pipe_ClearIN(); }