From 23910fa09e3d71dcd091b5ebcc1ce6a7f6fa9411 Mon Sep 17 00:00:00 2001
From: Dean Camera <dean@fourwalledcubicle.com>
Date: Tue, 13 Aug 2013 21:35:21 +0200
Subject: Add XMEGA TWI to the ModuleTest build test.

---
 BuildTests/ModuleTest/Modules.h | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/BuildTests/ModuleTest/Modules.h b/BuildTests/ModuleTest/Modules.h
index c0b93881b..2af314cce 100644
--- a/BuildTests/ModuleTest/Modules.h
+++ b/BuildTests/ModuleTest/Modules.h
@@ -30,6 +30,8 @@
 
 #include <LUFA/Common/Common.h>
 
+#include <LUFA/Platform/Platform.h>
+
 #include <LUFA/Drivers/USB/USB.h>
 #include <LUFA/Drivers/Misc/RingBuffer.h>
 #include <LUFA/Drivers/Misc/TerminalCodes.h>
@@ -43,16 +45,12 @@
 		#include <LUFA/Drivers/Peripheral/ADC.h>
 	#endif
 
-	#include <LUFA/Drivers/Peripheral/Serial.h>	
+	#include <LUFA/Drivers/Peripheral/Serial.h>
 	#include <LUFA/Drivers/Peripheral/SPI.h>
 	#include <LUFA/Drivers/Peripheral/SerialSPI.h>
 #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/Platform/XMEGA/ClockManagement.h>
-#elif (ARCH == ARCH_UC3)
-	#include <LUFA/Platform/UC3/ClockManagement.h>
-	#include <LUFA/Platform/UC3/InterruptManagement.h>
-#endif
\ No newline at end of file
+#endif
-- 
cgit v1.2.3