Add partial project documentation to the incomplete PrinterHost demo.
Change over Printer_GetDeviceID() to require a pointer to the destination buffer plus the buffer size, rather than using a pointer to a special structure. Make new Printer_SendData() function to hide the implementation of sending data to an attached printer, cleaning up the main demo source file body.
This commit is contained in:
		
							parent
							
								
									d3fb6273aa
								
							
						
					
					
						commit
						786479faf0
					
				
					 7 changed files with 110 additions and 62 deletions
				
			
		| 
						 | 
				
			
			@ -49,7 +49,7 @@
 | 
			
		|||
  *  - Changed bootloaders to use FLASHEND rather than the existence of RAMPZ to determine if far FLASH pointers are needed to fix
 | 
			
		||||
  *    bootloaders on some of the USB AVR devices where avr-libc erronously defines RAMPZ
 | 
			
		||||
  *  - Fixes to MassStorageHost for better device compatibility (increase command timeout, change MassStore_WaitForDataReceived()
 | 
			
		||||
  *    to only unfreeze and check one data pipe at a time) to prevent incorrect enumerations and freezes
 | 
			
		||||
  *    to only unfreeze and check one data pipe at a time) to prevent incorrect device enumerations and freezes while trasferring data
 | 
			
		||||
  *  - Make Pipe_ConfigurePipe() mask the given endpoint number against PIPE_EPNUM_MASK to ensure the endpoint IN direction bit is
 | 
			
		||||
  *    cleared to prevent endpoint type corruption
 | 
			
		||||
  *  - Fix documentation mentioning Pipe_GetCurrentToken() function when real name is Pipe_GetPipeToken()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue