diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-02-12 11:48:24 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-02-12 11:48:24 +0000 |
commit | f45d60f768f438502910fd9fe7cac094c05bca74 (patch) | |
tree | cec7534977d5cf0e8015bb95dc98ee3fb3a39a9c /LUFA/Drivers/Peripheral/Serial.h | |
parent | 82fdedc192cca6c118991d476b107a95128e4fc2 (diff) | |
download | lufa-f45d60f768f438502910fd9fe7cac094c05bca74.tar.gz lufa-f45d60f768f438502910fd9fe7cac094c05bca74.tar.bz2 lufa-f45d60f768f438502910fd9fe7cac094c05bca74.zip |
Added Serial USART peripheral driver for the XMEGA platform.
Fix XMEGA SPI peripheral driver's incorrect const-ness on the SPI peripheral struct.
Diffstat (limited to 'LUFA/Drivers/Peripheral/Serial.h')
-rw-r--r-- | LUFA/Drivers/Peripheral/Serial.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/LUFA/Drivers/Peripheral/Serial.h b/LUFA/Drivers/Peripheral/Serial.h index 5263e6c65..e0a774747 100644 --- a/LUFA/Drivers/Peripheral/Serial.h +++ b/LUFA/Drivers/Peripheral/Serial.h @@ -66,6 +66,8 @@ /* Includes: */ #if (ARCH == ARCH_AVR8) #include "AVR8/Serial_AVR8.h" + #elif (ARCH == ARCH_XMEGA) + #include "XMEGA/Serial_XMEGA.h" #else #error The Serial peripheral driver is not currently available for your selected architecture. #endif |