forked from mirror/qmk_firmware
Spell check all source code variables, comments and strings.
This commit is contained in:
@@ -263,7 +263,7 @@ bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_t* CurrentItem)
|
||||
|
||||
/* Iterate through the item's collection path, until either the root collection node or a collection with the
|
||||
* Joystick Usage is found - this prevents Mice, which use identical descriptors except for the Joystick usage
|
||||
* parent node, from being erronously treated as a joystick
|
||||
* parent node, from being erroneously treated as a joystick
|
||||
*/
|
||||
for (HID_CollectionPath_t* CurrPath = CurrentItem->CollectionPath; CurrPath != NULL; CurrPath = CurrPath->Parent)
|
||||
{
|
||||
|
||||
@@ -145,7 +145,7 @@ int main(void)
|
||||
SCSI_Inquiry_Response_t InquiryData;
|
||||
if (MS_Host_GetInquiryData(&FlashDisk_MS_Interface, 0, &InquiryData))
|
||||
{
|
||||
printf("Error retreiving device Inquiry data.\r\n");
|
||||
printf("Error retrieving device Inquiry data.\r\n");
|
||||
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
|
||||
USB_HostState = HOST_STATE_WaitForDeviceRemoval;
|
||||
break;
|
||||
|
||||
@@ -278,7 +278,7 @@ bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_t* CurrentItem)
|
||||
|
||||
/* Iterate through the item's collection path, until either the root collection node or a collection with the
|
||||
* Mouse Usage is found - this prevents Joysticks, which use identical descriptors except for the Joystick usage
|
||||
* parent node, from being erronously treated as a mouse
|
||||
* parent node, from being erroneously treated as a mouse
|
||||
*/
|
||||
for (HID_CollectionPath_t* CurrPath = CurrentItem->CollectionPath; CurrPath != NULL; CurrPath = CurrPath->Parent)
|
||||
{
|
||||
|
||||
@@ -50,7 +50,7 @@ uint8_t ProcessConfigurationDescriptor(void)
|
||||
return ControlErrorDuringConfigRead;
|
||||
}
|
||||
|
||||
/* The bluetooth USB transport addendium mandates that the data (not streaming voice) endpoints
|
||||
/* The bluetooth USB transport addendum mandates that the data (not streaming voice) endpoints
|
||||
be in the first interface descriptor (interface 0) */
|
||||
USB_GetNextDescriptorOfType(&CurrConfigBytesRem, &CurrConfigLocation, DTYPE_Interface);
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ void Bluetooth_ProcessACLPackets(void)
|
||||
Pipe_Freeze();
|
||||
break;
|
||||
default:
|
||||
BT_DEBUG("(ACL) >> Unknown Signalling Command 0x%02X", SignalCommandHeader.Code);
|
||||
BT_DEBUG("(ACL) >> Unknown Signaling Command 0x%02X", SignalCommandHeader.Code);
|
||||
|
||||
Pipe_Discard_Stream(ACLPacketHeader.DataLength);
|
||||
Pipe_ClearIN();
|
||||
|
||||
@@ -85,7 +85,7 @@ bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_t* CurrentItem)
|
||||
|
||||
/* Iterate through the item's collection path, until either the root collection node or a collection with the
|
||||
* Joystick Usage is found - this prevents Mice, which use identical descriptors except for the Mouse usage
|
||||
* parent node, from being erronously treated as a joystick
|
||||
* parent node, from being erroneously treated as a joystick
|
||||
*/
|
||||
for (HID_CollectionPath_t* CurrPath = CurrentItem->CollectionPath; CurrPath != NULL; CurrPath = CurrPath->Parent)
|
||||
{
|
||||
|
||||
@@ -237,7 +237,7 @@ static uint8_t MassStore_GetReturnedStatus(CommandStatusWrapper_t* SCSICommandSt
|
||||
{
|
||||
uint8_t ErrorCode = PIPE_RWSTREAM_NoError;
|
||||
|
||||
/* If an error in the command ocurred, abort */
|
||||
/* If an error in the command occurred, abort */
|
||||
if ((ErrorCode = MassStore_WaitForDataReceived()) != PIPE_RWSTREAM_NoError)
|
||||
return ErrorCode;
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
uint8_t ReponseCode;
|
||||
uint8_t ResponseCode;
|
||||
|
||||
uint8_t SegmentNumber;
|
||||
|
||||
|
||||
@@ -249,7 +249,7 @@ void MassStorage_Task(void)
|
||||
if (!(ErrorCode))
|
||||
break;
|
||||
|
||||
/* If an error othe than a logical command failure (indicating device busy) returned, abort */
|
||||
/* If an error other than a logical command failure (indicating device busy) returned, abort */
|
||||
if (ErrorCode != MASS_STORE_SCSI_COMMAND_FAILED)
|
||||
{
|
||||
ShowDiskReadError(PSTR("Test Unit Ready"), ErrorCode);
|
||||
@@ -276,7 +276,7 @@ void MassStorage_Task(void)
|
||||
/* Display the disk capacity in blocks * block size bytes */
|
||||
printf_P(PSTR("%lu blocks of %lu bytes.\r\n"), DiskCapacity.Blocks, DiskCapacity.BlockSize);
|
||||
|
||||
/* Create a new buffer capabable of holding a single block from the device */
|
||||
/* Create a new buffer capable of holding a single block from the device */
|
||||
uint8_t BlockBuffer[DiskCapacity.BlockSize];
|
||||
|
||||
/* Read in the first 512 byte block from the device */
|
||||
|
||||
@@ -85,7 +85,7 @@ bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_t* CurrentItem)
|
||||
|
||||
/* Iterate through the item's collection path, until either the root collection node or a collection with the
|
||||
* Mouse Usage is found - this prevents Joysticks, which use identical descriptors except for the Joystick usage
|
||||
* parent node, from being erronously treated as a mouse
|
||||
* parent node, from being erroneously treated as a mouse
|
||||
*/
|
||||
for (HID_CollectionPath_t* CurrPath = CurrentItem->CollectionPath; CurrPath != NULL; CurrPath = CurrPath->Parent)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user