Fix small error in last commit preventing compilation in some circumstances.
This commit is contained in:
		
							parent
							
								
									37f8a84f35
								
							
						
					
					
						commit
						32086e4f14
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -144,8 +144,9 @@ static void USB_Device_SetConfiguration(void)
 | 
			
		|||
 | 
			
		||||
	if (CALLBACK_USB_GetDescriptor((DTYPE_Device << 8), 0, (void*)&DevDescriptorPtr
 | 
			
		||||
	#if !defined(USE_FLASH_DESCRIPTORS) && !defined(USE_EEPROM_DESCRIPTORS) && !defined(USE_RAM_DESCRIPTORS)
 | 
			
		||||
	                               , &MemoryAddressSpace) == NO_DESCRIPTOR)
 | 
			
		||||
	                               , &MemoryAddressSpace
 | 
			
		||||
	#endif
 | 
			
		||||
	                               ) == NO_DESCRIPTOR)
 | 
			
		||||
	{
 | 
			
		||||
		return;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue