aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/CDC
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-04-01 13:53:58 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-04-01 13:53:58 +0000
commit6933f2e1a543b066ebe734bd126a7ff2f1c2777f (patch)
treea8fd03c986accab9fa79e43d835e047fb5b0e254 /Demos/Device/CDC
parentfb3fcb968ea70f8b5c6d8f7edde65745e49628f2 (diff)
downloadlufa-6933f2e1a543b066ebe734bd126a7ff2f1c2777f.tar.gz
lufa-6933f2e1a543b066ebe734bd126a7ff2f1c2777f.tar.bz2
lufa-6933f2e1a543b066ebe734bd126a7ff2f1c2777f.zip
All comments in the library, bootloaders, demos and projects have now been spell-checked and spelling mistakes/typos corrected.
Diffstat (limited to 'Demos/Device/CDC')
-rw-r--r--Demos/Device/CDC/CDC.c4
-rw-r--r--Demos/Device/CDC/CDC.h8
-rw-r--r--Demos/Device/CDC/Descriptors.c2
3 files changed, 7 insertions, 7 deletions
diff --git a/Demos/Device/CDC/CDC.c b/Demos/Device/CDC/CDC.c
index d4eecc897..5e153f652 100644
--- a/Demos/Device/CDC/CDC.c
+++ b/Demos/Device/CDC/CDC.c
@@ -56,7 +56,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 LineCoding = { BaudRateBPS: 9600,
CharFormat: OneStopBit,
@@ -66,7 +66,7 @@ CDC_Line_Coding_t LineCoding = { BaudRateBPS: 9600,
/** String to print through the virtual serial port when the joystick is pressed upwards. */
char JoystickUpString[] = "Joystick Up\r\n";
-/** String to print through the virtual serial port when the joystick is pressed downwards. */
+/** String to print through the virtual serial port when the joystick is pressed downward. */
char JoystickDownString[] = "Joystick Down\r\n";
/** String to print through the virtual serial port when the joystick is pressed left. */
diff --git a/Demos/Device/CDC/CDC.h b/Demos/Device/CDC/CDC.h
index d953303f7..a36fdc921 100644
--- a/Demos/Device/CDC/CDC.h
+++ b/Demos/Device/CDC/CDC.h
@@ -98,17 +98,17 @@
#define CONTROL_LINE_IN_RING (1 << 3)
/** Mask for use with the a NOTIF_SerialState class specific notification from the device to the host,
- * to indicate that a framing error has ocurred on the virtual serial port.
+ * to indicate that a framing error has occurred on the virtual serial port.
*/
#define CONTROL_LINE_IN_FRAMEERROR (1 << 4)
/** Mask for use with the a NOTIF_SerialState class specific notification from the device to the host,
- * to indicate that a parity error has ocurred on the virtual serial port.
+ * to indicate that a parity error has occurred on the virtual serial port.
*/
#define CONTROL_LINE_IN_PARITYERROR (1 << 5)
/** Mask for use with the a NOTIF_SerialState class specific notification from the device to the host,
- * to indicate that a data overrun error has ocurred on the virtual serial port.
+ * to indicate that a data overrun error has occurred on the virtual serial port.
*/
#define CONTROL_LINE_IN_OVERRUNERROR (1 << 6)
@@ -138,7 +138,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;
/** Type define for a CDC notification, sent to the host via the CDC notification endpoint to indicate a
diff --git a/Demos/Device/CDC/Descriptors.c b/Demos/Device/CDC/Descriptors.c
index fa0c79da0..869dc5deb 100644
--- a/Demos/Device/CDC/Descriptors.c
+++ b/Demos/Device/CDC/Descriptors.c
@@ -216,7 +216,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.
*/