Create a new function pointer type in StreamCallbacks.h for endpoint/pipe stream...
[pub/lufa.git] / Demos / Host / CDCHost / CDCHost.c
index b499a27..a419409 100644 (file)
@@ -246,7 +246,7 @@ TASK(USB_CDC_Host)
                                {\r
                                        /* Get the length of the pipe data, and create a new buffer to hold it */\r
                                        uint16_t BufferLength = Pipe_BytesInPipe();\r
-                                       uint8_t Buffer[BufferLength];\r
+                                       uint8_t  Buffer[BufferLength];\r
                                        \r
                                        /* Read in the pipe data to the temporary buffer */\r
                                        Pipe_Read_Stream_LE(Buffer, BufferLength);\r
@@ -267,7 +267,7 @@ TASK(USB_CDC_Host)
                        /* Check if a packet has been received */\r
                        if (Pipe_IsINReceived())\r
                        {\r
-                               /* Discard the event notification */\r
+                               /* Discard the unused event notification */\r
                                Pipe_ClearIN();\r
                        }\r
                        \r