Fixed broken AVR8 USART-SPI peripheral driver (thanks to Phil Zakielarz).
This commit is contained in:
		
							parent
							
								
									025e57bd72
								
							
						
					
					
						commit
						6c8ebd70c7
					
				
					 3 changed files with 26 additions and 17 deletions
				
			
		| 
						 | 
				
			
			@ -37,20 +37,20 @@
 | 
			
		|||
#include <LUFA/Drivers/Misc/TerminalCodes.h>
 | 
			
		||||
 | 
			
		||||
#if (ARCH == ARCH_AVR8)
 | 
			
		||||
	#if defined(TWCR)
 | 
			
		||||
		#include <LUFA/Drivers/Peripheral/TWI.h>
 | 
			
		||||
	#endif
 | 
			
		||||
 | 
			
		||||
	#if defined(ADC)
 | 
			
		||||
		#include <LUFA/Drivers/Peripheral/ADC.h>
 | 
			
		||||
	#endif
 | 
			
		||||
 | 
			
		||||
	#include <LUFA/Drivers/Peripheral/Serial.h>
 | 
			
		||||
	#include <LUFA/Drivers/Peripheral/SPI.h>
 | 
			
		||||
	#include <LUFA/Drivers/Peripheral/SerialSPI.h>
 | 
			
		||||
	#include <LUFA/Drivers/Peripheral/SPI.h>
 | 
			
		||||
 | 
			
		||||
	#if defined(TWCR)
 | 
			
		||||
		#include <LUFA/Drivers/Peripheral/TWI.h>
 | 
			
		||||
	#endif
 | 
			
		||||
#elif (ARCH == ARCH_XMEGA)
 | 
			
		||||
	#include <LUFA/Drivers/Peripheral/TWI.h>
 | 
			
		||||
	#include <LUFA/Drivers/Peripheral/Serial.h>
 | 
			
		||||
	#include <LUFA/Drivers/Peripheral/SPI.h>
 | 
			
		||||
	#include <LUFA/Drivers/Peripheral/SerialSPI.h>
 | 
			
		||||
	#include <LUFA/Drivers/Peripheral/SPI.h>
 | 
			
		||||
	#include <LUFA/Drivers/Peripheral/TWI.h>
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue