All comments in the library, bootloaders, demos and projects have now been spell-checked and spelling mistakes/typos corrected.
This commit is contained in:
		
							parent
							
								
									fb3fcb968e
								
							
						
					
					
						commit
						6933f2e1a5
					
				
					 95 changed files with 274 additions and 273 deletions
				
			
		| 
						 | 
				
			
			@ -75,7 +75,7 @@ int main(void)
 | 
			
		|||
	/* Initialize USB Subsystem */
 | 
			
		||||
	USB_Init();
 | 
			
		||||
 | 
			
		||||
	/* Startup message */
 | 
			
		||||
	/* Start-up message */
 | 
			
		||||
	puts_P(PSTR(ESC_RESET ESC_BG_WHITE ESC_INVERSE_ON ESC_ERASE_DISPLAY
 | 
			
		||||
	       "CDC Host Demo running.\r\n" ESC_INVERSE_OFF));
 | 
			
		||||
		   
 | 
			
		||||
| 
						 | 
				
			
			@ -132,7 +132,7 @@ EVENT_HANDLER(USB_HostError)
 | 
			
		|||
	for(;;);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/** Event handler for the USB_DeviceEnumerationFailed event. This indicates that a problem occured while
 | 
			
		||||
/** Event handler for the USB_DeviceEnumerationFailed event. This indicates that a problem occurred while
 | 
			
		||||
 *  enumerating an attached USB device.
 | 
			
		||||
 */
 | 
			
		||||
EVENT_HANDLER(USB_DeviceEnumerationFailed)
 | 
			
		||||
| 
						 | 
				
			
			@ -196,7 +196,7 @@ TASK(USB_CDC_Host)
 | 
			
		|||
					wLength:       0,
 | 
			
		||||
				};
 | 
			
		||||
 | 
			
		||||
			/* Send the request, display error and wait for device detatch if request fails */
 | 
			
		||||
			/* Send the request, display error and wait for device detach if request fails */
 | 
			
		||||
			if ((ErrorCode = USB_Host_SendControlRequest(NULL)) != HOST_SENDCONTROL_Successful)
 | 
			
		||||
			{
 | 
			
		||||
				puts_P(PSTR("Control Error (Set Configuration).\r\n"));
 | 
			
		||||
| 
						 | 
				
			
			@ -248,7 +248,7 @@ TASK(USB_CDC_Host)
 | 
			
		|||
				uint16_t BufferLength = Pipe_BytesInPipe();
 | 
			
		||||
				uint8_t Buffer[BufferLength];
 | 
			
		||||
				
 | 
			
		||||
				/* Read in the pipe data to the tempoary buffer */
 | 
			
		||||
				/* Read in the pipe data to the temporary buffer */
 | 
			
		||||
				Pipe_Read_Stream_LE(Buffer, BufferLength);
 | 
			
		||||
				
 | 
			
		||||
				/* Clear the pipe after it is read, ready for the next packet */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -73,7 +73,7 @@
 | 
			
		|||
			DescriptorTooLarge              = 2, /**< The device's Configuration Descriptor is too large to process */
 | 
			
		||||
			InvalidConfigDataReturned       = 3, /**< The device returned an invalid Configuration Descriptor */
 | 
			
		||||
			NoCDCInterfaceFound             = 4, /**< A compatible CDC interface was not found in the device's Configuration Descriptor */
 | 
			
		||||
			NoEndpointFound                 = 5, /**< Cmpatible CDC endpoints were not found in the device's CDC interface */
 | 
			
		||||
			NoEndpointFound                 = 5, /**< Compatible CDC endpoints were not found in the device's CDC interface */
 | 
			
		||||
		};
 | 
			
		||||
 | 
			
		||||
	/* Configuration Descriptor Comparison Functions: */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue