diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2014-09-13 16:29:29 +1000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2014-09-13 16:29:29 +1000 |
commit | 6c8ebd70c763790c3550be9b9e8b81aa1e225415 (patch) | |
tree | 0f680e5186e6112d7efb9a4265e86106af443b8a /BuildTests | |
parent | 025e57bd7246128636bda9760b654cc5f0d10a58 (diff) | |
download | lufa-6c8ebd70c763790c3550be9b9e8b81aa1e225415.tar.gz lufa-6c8ebd70c763790c3550be9b9e8b81aa1e225415.tar.bz2 lufa-6c8ebd70c763790c3550be9b9e8b81aa1e225415.zip |
Fixed broken AVR8 USART-SPI peripheral driver (thanks to Phil Zakielarz).
Diffstat (limited to 'BuildTests')
-rw-r--r-- | BuildTests/ModuleTest/Modules.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/BuildTests/ModuleTest/Modules.h b/BuildTests/ModuleTest/Modules.h index a027f8083..cc16fd6b9 100644 --- a/BuildTests/ModuleTest/Modules.h +++ b/BuildTests/ModuleTest/Modules.h @@ -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 |