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. --- Demos/Device/MassStorage/Descriptors.c | 2 +- Demos/Device/MassStorage/MassStorage.c | 4 ++-- Demos/Device/MassStorage/SCSI.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'Demos/Device/MassStorage') diff --git a/Demos/Device/MassStorage/Descriptors.c b/Demos/Device/MassStorage/Descriptors.c index a6173156a..dd98db59a 100644 --- a/Demos/Device/MassStorage/Descriptors.c +++ b/Demos/Device/MassStorage/Descriptors.c @@ -172,7 +172,7 @@ USB_Descriptor_String_t PROGMEM SerialNumberString = /** 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/MassStorage/MassStorage.c b/Demos/Device/MassStorage/MassStorage.c index 92e33073c..403264835 100644 --- a/Demos/Device/MassStorage/MassStorage.c +++ b/Demos/Device/MassStorage/MassStorage.c @@ -56,7 +56,7 @@ CommandBlockWrapper_t CommandBlock; /** Structure to hold the latest Command Status Wrapper to return to the host, containing the status of the last issued command. */ CommandStatusWrapper_t CommandStatus = { Signature: CSW_SIGNATURE }; -/** Flag to asyncronously abort any in-progress data transfers upon the reception of a mass storage reset command. */ +/** Flag to asynchronously abort any in-progress data transfers upon the reception of a mass storage reset command. */ volatile bool IsMassStoreReset = false; /** Main program entry point. This routine configures the hardware required by the application, then @@ -262,7 +262,7 @@ TASK(USB_MassStorage) /* Return command status block to the host */ ReturnCommandStatus(); - /* Check if a Mass Storage Reset ocurred */ + /* Check if a Mass Storage Reset occurred */ if (IsMassStoreReset) { /* Reset the data endpoint banks */ diff --git a/Demos/Device/MassStorage/SCSI.c b/Demos/Device/MassStorage/SCSI.c index d9c552691..d50f63d91 100644 --- a/Demos/Device/MassStorage/SCSI.c +++ b/Demos/Device/MassStorage/SCSI.c @@ -38,7 +38,7 @@ #define INCLUDE_FROM_SCSI_C #include "SCSI.h" -/** Structure to hold the SCSI reponse data to a SCSI INQUIRY command. This gives information about the device's +/** Structure to hold the SCSI response data to a SCSI INQUIRY command. This gives information about the device's * features and capabilities. */ SCSI_Inquiry_Response_t InquiryData = @@ -88,7 +88,7 @@ void SCSI_DecodeSCSICommand(void) { bool CommandSuccess = false; - /* Run the apropriate SCSI command hander function based on the passed command */ + /* Run the appropriate SCSI command hander function based on the passed command */ switch (CommandBlock.SCSICommandData[0]) { case SCSI_CMD_INQUIRY: @@ -235,7 +235,7 @@ static bool SCSI_Command_Read_Capacity_10(void) return true; } -/** Command processing for an issued SCSI SEND DIAGNOSTIC command. This command peforms a quick check of the Dataflash ICs on the +/** Command processing for an issued SCSI SEND DIAGNOSTIC command. This command performs a quick check of the Dataflash ICs on the * board, and indicates if they are present and functioning correctly. Only the Self-Test portion of the diagnostic command is * supported. * -- cgit v1.2.3