From 14afffa2770b06d1f1292faf2ef73b83998dd7d8 Mon Sep 17 00:00:00 2001 From: Dean Date: Tue, 23 Feb 2010 03:51:17 +0000 Subject: Update Temperature board driver to be AVR32 compatible when the ADC peripheral driver is eventually ported. Make architecture includes explicit for both the AVR32 and the AVR8, to make way for future architecture ports. Add SPI driver aliases for the old function names in the AVR8 driver, so that existing code will still compile against the new version. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1151 d5102386-fcda-11dd-9fdb-3debd5008f28 --- LUFA/Drivers/Peripheral/Serial.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'LUFA/Drivers/Peripheral/Serial.h') diff --git a/LUFA/Drivers/Peripheral/Serial.h b/LUFA/Drivers/Peripheral/Serial.h index a2e06fa8..838c1fd3 100644 --- a/LUFA/Drivers/Peripheral/Serial.h +++ b/LUFA/Drivers/Peripheral/Serial.h @@ -60,15 +60,15 @@ #endif /* Includes: */ + #include "../../Common/Common.h" + #include "../Misc/TerminalCodes.h" + #if defined(__AVR32__) #include "AVR32/Serial.h" - #else + #elif defined(__AVR__) #include "AVR8/Serial.h" #endif - #include "../../Common/Common.h" - #include "../Misc/TerminalCodes.h" - /* Enable C linkage for C++ Compilers: */ #if defined(__cplusplus) extern "C" { -- cgit v1.2.3