All comments in the library, bootloaders, demos and projects have now been spell...
[pub/lufa.git] / Demos / Device / DualCDC / DualCDC.c
index 3c598da..fecbaff 100644 (file)
@@ -57,7 +57,7 @@ TASK_LIST
  *\r
  *  These values are set by the host via a class-specific request, however they are not required to be used accurately.\r
  *  It is possible to completely ignore these value or use other settings as the host is completely unaware of the physical\r
- *  serial link characteristics and instead sends and recieves data in endpoint streams.\r
+ *  serial link characteristics and instead sends and receives data in endpoint streams.\r
  */\r
 CDC_Line_Coding_t LineCoding1 = { BaudRateBPS: 9600,\r
                                   CharFormat:  OneStopBit,\r
@@ -70,7 +70,7 @@ CDC_Line_Coding_t LineCoding1 = { BaudRateBPS: 9600,
  *\r
  *  These values are set by the host via a class-specific request, however they are not required to be used accurately.\r
  *  It is possible to completely ignore these value or use other settings as the host is completely unaware of the physical\r
- *  serial link characteristics and instead sends and recieves data in endpoint streams.\r
+ *  serial link characteristics and instead sends and receives data in endpoint streams.\r
  */\r
 CDC_Line_Coding_t LineCoding2 = { BaudRateBPS: 9600,\r
                                   CharFormat:  OneStopBit,\r
@@ -80,7 +80,7 @@ CDC_Line_Coding_t LineCoding2 = { BaudRateBPS: 9600,
 /** String to print through the first virtual serial port when the joystick is pressed upwards. */\r
 char JoystickUpString[]      = "Joystick Up\r\n";\r
 \r
-/** String to print through the first virtual serial port when the joystick is pressed downwards. */\r
+/** String to print through the first virtual serial port when the joystick is pressed downward. */\r
 char JoystickDownString[]    = "Joystick Down\r\n";\r
 \r
 /** String to print through the first virtual serial port when the joystick is pressed left. */\r
@@ -324,7 +324,7 @@ TASK(CDC1_Task)
          Endpoint_ClearCurrentBank();\r
 }\r
 \r
-/** Function to manage CDC data transmission and reception to and from the host for the second CDC interface, which echos back\r
+/** Function to manage CDC data transmission and reception to and from the host for the second CDC interface, which echoes back\r
  *  all data sent to it from the host.\r
  */\r
 TASK(CDC2_Task)\r
@@ -335,13 +335,13 @@ TASK(CDC2_Task)
        /* Check to see if any data has been received */\r
        if (Endpoint_ReadWriteAllowed())\r
        {\r
-               /* Create a temp buffer big enough to hold the incomming endpoint packet */\r
+               /* Create a temp buffer big enough to hold the incoming endpoint packet */\r
                uint8_t  Buffer[Endpoint_BytesInEndpoint()];\r
                \r
-               /* Remember how large the incomming packet is */\r
+               /* Remember how large the incoming packet is */\r
                uint16_t DataLength = Endpoint_BytesInEndpoint();\r
        \r
-               /* Read in the incomming packet into the buffer */\r
+               /* Read in the incoming packet into the buffer */\r
                Endpoint_Read_Stream_LE(&Buffer, DataLength);\r
 \r
                /* Finalize the stream transfer to send the last packet */\r