aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/CDCHost/CDCHost.c
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Host/CDCHost/CDCHost.c')
-rw-r--r--Demos/Host/CDCHost/CDCHost.c4
1 files changed, 2 insertions, 2 deletions
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();
}