Fixed hardware race condition that could cause failed device enumerations for AVR8 and UC3 architectures (thanks to Mike Beyhs).
Fixed incorrect Minimus board LED definitions (thanks to Joonas Lahtinen). Fixed incorrect LED masks for received data display in the Device GenericHID demos (thanks to Denys Berkovskyy).
This commit is contained in:
		
							parent
							
								
									7d037c7db8
								
							
						
					
					
						commit
						2608fd1dd4
					
				
					 9 changed files with 40 additions and 28 deletions
				
			
		| 
						 | 
				
			
			@ -209,7 +209,12 @@
 | 
			
		|||
			static inline void USB_Device_SetDeviceAddress(const uint8_t Address)
 | 
			
		||||
			{
 | 
			
		||||
				AVR32_USBB.UDCON.uadd  = Address;
 | 
			
		||||
				AVR32_USBB.UDCON.adden = (Address ? true : false);
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			static inline void USB_Device_EnableDeviceAddress(void) ATTR_ALWAYS_INLINE;
 | 
			
		||||
			static inline void USB_Device_EnableDeviceAddress(void)
 | 
			
		||||
			{
 | 
			
		||||
				AVR32_USBB.UDCON.adden = true;
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			static inline bool USB_Device_IsAddressSet(void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue