From 3a00e41639f06bd096f7437c951caf8b0dd46848 Mon Sep 17 00:00:00 2001
From: Dean Camera <dean@fourwalledcubicle.com>
Date: Sun, 20 Feb 2011 18:23:09 +0000
Subject: [PATCH] Make sure the peripheral driver .c files include the driver
 dispatch header, rather than the architecture specific header files.

---
 LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c | 2 +-
 LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c    | 2 +-
 LUFA/Drivers/USB/Core/UC3B/Endpoint_UC3B.h | 2 +-
 LUFA/Drivers/USB/Core/UC3B/OTG_UC3B.h      | 4 ++--
 LUFA/Drivers/USB/Core/UC3B/Pipe_UC3B.h     | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c b/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c
index 3a8312d85..7b7f5d61f 100644
--- a/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c
+++ b/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c
@@ -29,7 +29,7 @@
 */
 
 #define  __INCLUDE_FROM_SERIAL_C
-#include "Serial.h"
+#include "../Serial.h"
 
 FILE USARTSerialStream;
 
diff --git a/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c b/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c
index b5f258dd3..edfc9865c 100644
--- a/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c
+++ b/LUFA/Drivers/Peripheral/AVR8/TWI_AVR8.c
@@ -6,7 +6,7 @@
 */
 
 #define  __INCLUDE_FROM_TWI_C
-#include "TWI.h"
+#include "../TWI.h"
 
 uint8_t TWI_StartTransmission(const uint8_t SlaveAddress,
                               const uint8_t TimeoutMS)
diff --git a/LUFA/Drivers/USB/Core/UC3B/Endpoint_UC3B.h b/LUFA/Drivers/USB/Core/UC3B/Endpoint_UC3B.h
index e0fee630b..dcafe63b5 100644
--- a/LUFA/Drivers/USB/Core/UC3B/Endpoint_UC3B.h
+++ b/LUFA/Drivers/USB/Core/UC3B/Endpoint_UC3B.h
@@ -29,7 +29,7 @@
 */
 
 /** \file
- *  \brief USB Endpoint definitions for the UC3B microcontrollers.
+ *  \brief USB Endpoint definitions for the AVR32 UC3B microcontrollers.
  *  \copydetails Group_EndpointManagement_UC3B
  *
  *  \note This file should not be included directly. It is automatically included as needed by the USB driver
diff --git a/LUFA/Drivers/USB/Core/UC3B/OTG_UC3B.h b/LUFA/Drivers/USB/Core/UC3B/OTG_UC3B.h
index 92ec38a28..b4d79acca 100644
--- a/LUFA/Drivers/USB/Core/UC3B/OTG_UC3B.h
+++ b/LUFA/Drivers/USB/Core/UC3B/OTG_UC3B.h
@@ -29,7 +29,7 @@
 */
 
 /** \file
- *  \brief USB OTG definitions for the UC3B microcontrollers.
+ *  \brief USB OTG definitions for the AVR32 UC3B microcontrollers.
  *  \copydetails Group_OTG_UC3B
  *
  *  \note This file should not be included directly. It is automatically included as needed by the USB driver
@@ -38,7 +38,7 @@
 
 /** \ingroup Group_OTG
  *  \defgroup Group_OTG_UC3B USB On The Go (OTG) Management (UC3B)
- *  \brief USB OTG definitions for the UC3B microcontrollers.
+ *  \brief USB OTG definitions for the AVR32 UC3B microcontrollers.
  *
  *  Architecture specific USB OTG definitions for the Atmel 32-bit AVR UC3B microcontrollers.
  *
diff --git a/LUFA/Drivers/USB/Core/UC3B/Pipe_UC3B.h b/LUFA/Drivers/USB/Core/UC3B/Pipe_UC3B.h
index 9b24c5c84..eeeb1692e 100644
--- a/LUFA/Drivers/USB/Core/UC3B/Pipe_UC3B.h
+++ b/LUFA/Drivers/USB/Core/UC3B/Pipe_UC3B.h
@@ -29,7 +29,7 @@
 */
 
 /** \file
- *  \brief USB Pipe definitions for the UC3B microcontrollers.
+ *  \brief USB Pipe definitions for the AVR32 UC3B microcontrollers.
  *  \copydetails Group_PipeManagement_UC3B
  *
  *  \note This file should not be included directly. It is automatically included as needed by the USB driver
-- 
GitLab