Fix incorrect Interrupt disable function for the XMEGA architecture (thanks to Simon Küppers).
This commit is contained in:
		
							parent
							
								
									31d3984d8d
								
							
						
					
					
						commit
						654217548b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -36,7 +36,7 @@
 | 
			
		|||
 | 
			
		||||
void USB_INT_DisableAllInterrupts(void)
 | 
			
		||||
{
 | 
			
		||||
	USB.INTCTRLA    &= USB_INTLVL_gm;
 | 
			
		||||
	USB.INTCTRLA    &= ~USB_INTLVL_gm;
 | 
			
		||||
	USB.INTCTRLB     = 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue