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
				
			
		| 
						 | 
				
			
			@ -93,7 +93,7 @@ int main(void)
 | 
			
		|||
 | 
			
		||||
	RingBuffer_InitBuffer(&USARTtoUSB_Buffer, USARTtoUSB_Buffer_Data, sizeof(USARTtoUSB_Buffer_Data));
 | 
			
		||||
 | 
			
		||||
	sei();
 | 
			
		||||
	GlobalInterruptEnable();
 | 
			
		||||
 | 
			
		||||
	for (;;)
 | 
			
		||||
	{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue