From 6933f2e1a543b066ebe734bd126a7ff2f1c2777f Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Wed, 1 Apr 2009 13:53:58 +0000 Subject: All comments in the library, bootloaders, demos and projects have now been spell-checked and spelling mistakes/typos corrected. --- Projects/Magstripe/CircularBitBuffer.h | 2 +- Projects/Magstripe/Descriptors.c | 2 +- Projects/Magstripe/Magstripe.c | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'Projects/Magstripe') diff --git a/Projects/Magstripe/CircularBitBuffer.h b/Projects/Magstripe/CircularBitBuffer.h index 71b9e26a7..6f1fa1508 100644 --- a/Projects/Magstripe/CircularBitBuffer.h +++ b/Projects/Magstripe/CircularBitBuffer.h @@ -46,7 +46,7 @@ /* Macros: */ #if (defined(__AVR_AT90USB1287__) || defined(__AVR_AT90USB647__) || \ defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB646__)) || defined(__DOXYGEN__) - /** Maximum number of bits which can be stored into a bit buffer. The memory usage is one eigth of this value per buffer. */ + /** Maximum number of bits which can be stored into a bit buffer. The memory usage is one eighth of this value per buffer. */ #define MAX_BITS 8192 #else #define MAX_BITS 1024 diff --git a/Projects/Magstripe/Descriptors.c b/Projects/Magstripe/Descriptors.c index 71abca666..d5bbeb34d 100644 --- a/Projects/Magstripe/Descriptors.c +++ b/Projects/Magstripe/Descriptors.c @@ -192,7 +192,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/Projects/Magstripe/Magstripe.c b/Projects/Magstripe/Magstripe.c index aef7812fa..93681170a 100644 --- a/Projects/Magstripe/Magstripe.c +++ b/Projects/Magstripe/Magstripe.c @@ -78,7 +78,7 @@ BitBuffer_t Track2Data; /** Circular buffer to hold the read bits from track 3 of the inserted magnetic card. */ BitBuffer_t Track3Data; -/** Delay counter between sucessive key strokes. This is to prevent the OS from ignoring multiple keys in a short +/** Delay counter between successive key strokes. This is to prevent the OS from ignoring multiple keys in a short * period of time due to key repeats. Two milliseconds works for most OSes. */ uint8_t KeyDelayRemaining; @@ -312,7 +312,7 @@ bool GetNextReport(USB_KeyboardReport_Data_t* ReportData) /* Set the flag indicating that a null report must eventually be sent to release all pressed keys */ MustRelease = true; - /* Only send the next key on odd reports, so that they are interpersed with null reports to release keys */ + /* Only send the next key on odd reports, so that they are interspersed with null reports to release keys */ if (OddReport) { /* Set the report key code to the key code for the next data bit */ @@ -337,12 +337,12 @@ bool GetNextReport(USB_KeyboardReport_Data_t* ReportData) return false; } -/** Task to read out data from inserted magnetic cards and place the seperate track data into their respective +/** Task to read out data from inserted magnetic cards and place the separate track data into their respective * data buffers for later sending to the host as keyboard key presses. */ TASK(Magstripe_Read) { - /* Arrays to hold the buffer pointers, clock and data bit masks for the seperate card tracks */ + /* Arrays to hold the buffer pointers, clock and data bit masks for the separate card tracks */ const struct { BitBuffer_t* Buffer; @@ -396,7 +396,7 @@ TASK(Magstripe_Read) } /** Task for the magnetic card reading and keyboard report generation. This task waits until a card is inserted, - * then reads off the card data and sends it to the host as a series of keyboard keypresses via keyboard reports. + * then reads off the card data and sends it to the host as a series of keyboard key presses via keyboard reports. */ TASK(USB_Keyboard_Report) { -- cgit v1.2.3