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. --- Bootloaders/DFU/BootloaderDFU.c | 4 ++-- Bootloaders/DFU/BootloaderDFU.h | 6 +++--- Bootloaders/DFU/Descriptors.c | 2 +- Bootloaders/DFU/Descriptors.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'Bootloaders/DFU') diff --git a/Bootloaders/DFU/BootloaderDFU.c b/Bootloaders/DFU/BootloaderDFU.c index 6bea9b25f..5375b9c9d 100644 --- a/Bootloaders/DFU/BootloaderDFU.c +++ b/Bootloaders/DFU/BootloaderDFU.c @@ -539,7 +539,7 @@ static void LoadStartEndAddresses(void) EndAddr = Address[1].Word; } -/** Handler for a Memory Program command issued by the host. This routine handles the preperations needed +/** Handler for a Memory Program command issued by the host. This routine handles the preparations needed * to write subsequent data from the host into the specified memory. */ static void ProcessMemProgCommand(void) @@ -569,7 +569,7 @@ static void ProcessMemProgCommand(void) } } -/** Handler for a Memory Read command issued by the host. This routine handles the preperations needed +/** Handler for a Memory Read command issued by the host. This routine handles the preparations needed * to read subsequent data from the specified memory out to the host, as well as implementing the memory * blank check command. */ diff --git a/Bootloaders/DFU/BootloaderDFU.h b/Bootloaders/DFU/BootloaderDFU.h index 5a83403df..d0a825443 100644 --- a/Bootloaders/DFU/BootloaderDFU.h +++ b/Bootloaders/DFU/BootloaderDFU.h @@ -63,7 +63,7 @@ /** Minor bootloader version number. */ #define BOOTLOADER_VERSION_REV 0 - /** Complete bootloder version number expressed as a packed byte, constructed from the + /** Complete bootloader version number expressed as a packed byte, constructed from the * two individual bootloader version macros. */ #define BOOTLOADER_VERSION ((BOOTLOADER_VERSION_MINOR << 4) | BOOTLOADER_VERSION_REV) @@ -100,7 +100,7 @@ */ #define DFU_FILLER_BYTES_SIZE 26 - /** DFU class command request to detatch from the host. */ + /** DFU class command request to detach from the host. */ #define DFU_DETATCH 0x00 /** DFU class command request to send data from the host to the bootloader. */ @@ -141,7 +141,7 @@ /** Type define for a non-returning function pointer to the loaded application. */ typedef void (*AppPtr_t)(void) ATTR_NO_RETURN; - /** Type define for a strucuture containing a complete DFU command issued by the host. */ + /** Type define for a structure containing a complete DFU command issued by the host. */ typedef struct { uint8_t Command; /**< Single byte command to perform, one of the COMMAND_* macro values */ diff --git a/Bootloaders/DFU/Descriptors.c b/Bootloaders/DFU/Descriptors.c index 3a1c69c73..1313118c9 100644 --- a/Bootloaders/DFU/Descriptors.c +++ b/Bootloaders/DFU/Descriptors.c @@ -139,7 +139,7 @@ USB_Descriptor_String_t 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/Bootloaders/DFU/Descriptors.h b/Bootloaders/DFU/Descriptors.h index 7765981ee..527fc50fd 100644 --- a/Bootloaders/DFU/Descriptors.h +++ b/Bootloaders/DFU/Descriptors.h @@ -44,11 +44,11 @@ #define DTYPE_DFUFunctional 0x21 /** DFU attribute mask, indicating that the DFU device will detach and re-attach when a DFU_DETACH - * command is issued, rather than the host issing a USB Reset. + * command is issued, rather than the host issuing a USB Reset. */ #define ATTR_WILL_DETATCH (1 << 3) - /** DFU attribute mask, indicating that the DFU device can communicate during the manefestation phase + /** DFU attribute mask, indicating that the DFU device can communicate during the manifestation phase * (memory programming phase). */ #define ATTR_MANEFESTATION_TOLLERANT (1 << 2) -- cgit v1.2.3