Added new callback to the Audio Class driver to allow for endpoint control manipulations such as data sample rates.
Modified the Class Driver AudioInput and AudioOutput demos to support multiple sample rates. Fixed KeyboardHost and KeyboardHostWithParser demos displaying incorrect values when numerical keys were pressed. Fix broken LowLevel audio demo descriptors. Minor documentation fixes.
This commit is contained in:
		
							parent
							
								
									c2135f2776
								
							
						
					
					
						commit
						2731c3a8ae
					
				
					 20 changed files with 336 additions and 51 deletions
				
			
		| 
						 | 
				
			
			@ -236,12 +236,12 @@ void ISPProtocol_ProgramMemory(uint8_t V2Command)
 | 
			
		|||
		
 | 
			
		||||
		/* EEPROM just increments the address each byte, flash needs to increment on each word and
 | 
			
		||||
		 * also check to ensure that a LOAD EXTENDED ADDRESS command is issued each time the extended
 | 
			
		||||
		 * address boundary has been crossed */
 | 
			
		||||
		 * address boundary has been crossed during FLASH memory programming */
 | 
			
		||||
		if ((CurrentByte & 0x01) || (V2Command == CMD_PROGRAM_EEPROM_ISP))
 | 
			
		||||
		{
 | 
			
		||||
			CurrentAddress++;
 | 
			
		||||
 | 
			
		||||
			if ((V2Command != CMD_PROGRAM_EEPROM_ISP) && !(CurrentAddress & 0xFFFF))
 | 
			
		||||
			if ((V2Command == CMD_PROGRAM_FLASH_ISP) && !(CurrentAddress & 0xFFFF))
 | 
			
		||||
			  MustLoadExtendedAddress = true;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue