diff options
Diffstat (limited to 'Demos/Device/DualCDC')
-rw-r--r-- | Demos/Device/DualCDC/Descriptors.c | 2 | ||||
-rw-r--r-- | Demos/Device/DualCDC/DualCDC.c | 14 | ||||
-rw-r--r-- | Demos/Device/DualCDC/DualCDC.h | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/Demos/Device/DualCDC/Descriptors.c b/Demos/Device/DualCDC/Descriptors.c index 4f74b138b..91ae50eea 100644 --- a/Demos/Device/DualCDC/Descriptors.c +++ b/Demos/Device/DualCDC/Descriptors.c @@ -338,7 +338,7 @@ USB_Descriptor_String_t PROGMEM ProductString = /** This function is called by the library when in device mode, and must be overridden (see StdDescriptors.h
* documentation) by the application code so that the address and size of a requested descriptor can be given
- * to the USB library. When the device recieves a Get Descriptor request on the control endpoint, this function
+ * to the USB library. When the device receives a Get Descriptor request on the control endpoint, this function
* is called so that the descriptor details can be passed back and the appropriate descriptor sent back to the
* USB host.
*/
diff --git a/Demos/Device/DualCDC/DualCDC.c b/Demos/Device/DualCDC/DualCDC.c index 3c598da42..fecbaff60 100644 --- a/Demos/Device/DualCDC/DualCDC.c +++ b/Demos/Device/DualCDC/DualCDC.c @@ -57,7 +57,7 @@ TASK_LIST *
* These values are set by the host via a class-specific request, however they are not required to be used accurately.
* It is possible to completely ignore these value or use other settings as the host is completely unaware of the physical
- * serial link characteristics and instead sends and recieves data in endpoint streams.
+ * serial link characteristics and instead sends and receives data in endpoint streams.
*/
CDC_Line_Coding_t LineCoding1 = { BaudRateBPS: 9600,
CharFormat: OneStopBit,
@@ -70,7 +70,7 @@ CDC_Line_Coding_t LineCoding1 = { BaudRateBPS: 9600, *
* These values are set by the host via a class-specific request, however they are not required to be used accurately.
* It is possible to completely ignore these value or use other settings as the host is completely unaware of the physical
- * serial link characteristics and instead sends and recieves data in endpoint streams.
+ * serial link characteristics and instead sends and receives data in endpoint streams.
*/
CDC_Line_Coding_t LineCoding2 = { BaudRateBPS: 9600,
CharFormat: OneStopBit,
@@ -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. */
char JoystickUpString[] = "Joystick Up\r\n";
-/** String to print through the first virtual serial port when the joystick is pressed downwards. */
+/** String to print through the first virtual serial port when the joystick is pressed downward. */
char JoystickDownString[] = "Joystick Down\r\n";
/** String to print through the first virtual serial port when the joystick is pressed left. */
@@ -324,7 +324,7 @@ TASK(CDC1_Task) Endpoint_ClearCurrentBank();
}
-/** Function to manage CDC data transmission and reception to and from the host for the second CDC interface, which echos back
+/** Function to manage CDC data transmission and reception to and from the host for the second CDC interface, which echoes back
* all data sent to it from the host.
*/
TASK(CDC2_Task)
@@ -335,13 +335,13 @@ TASK(CDC2_Task) /* Check to see if any data has been received */
if (Endpoint_ReadWriteAllowed())
{
- /* Create a temp buffer big enough to hold the incomming endpoint packet */
+ /* Create a temp buffer big enough to hold the incoming endpoint packet */
uint8_t Buffer[Endpoint_BytesInEndpoint()];
- /* Remember how large the incomming packet is */
+ /* Remember how large the incoming packet is */
uint16_t DataLength = Endpoint_BytesInEndpoint();
- /* Read in the incomming packet into the buffer */
+ /* Read in the incoming packet into the buffer */
Endpoint_Read_Stream_LE(&Buffer, DataLength);
/* Finalize the stream transfer to send the last packet */
diff --git a/Demos/Device/DualCDC/DualCDC.h b/Demos/Device/DualCDC/DualCDC.h index 4c62abf9d..84be114e9 100644 --- a/Demos/Device/DualCDC/DualCDC.h +++ b/Demos/Device/DualCDC/DualCDC.h @@ -87,7 +87,7 @@ uint8_t ParityType; /**< Parity setting of the virtual serial port, a value from the
* CDCDevice_LineCodingParity_t enum
*/
- uint8_t DataBits; /**< Bits of data per charater of the virtual serial port */
+ uint8_t DataBits; /**< Bits of data per character of the virtual serial port */
} CDC_Line_Coding_t;
/* Enums: */
|