Use the framework provided GlobalInterruptEnable() function instead of the AVR8/XMEGA specific sei() macro, for future demo/project portability.
This commit is contained in:
		
							parent
							
								
									92ee5ad826
								
							
						
					
					
						commit
						1eefbf9041
					
				
					 75 changed files with 77 additions and 77 deletions
				
			
		| 
						 | 
				
			
			@ -46,7 +46,7 @@ int main(void)
 | 
			
		|||
	puts_P(PSTR(ESC_FG_CYAN "Android Accessory Host Demo running.\r\n" ESC_FG_WHITE));
 | 
			
		||||
 | 
			
		||||
	LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
 | 
			
		||||
	sei();
 | 
			
		||||
	GlobalInterruptEnable();
 | 
			
		||||
 | 
			
		||||
	for (;;)
 | 
			
		||||
	{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue