From 3bd36f811c00b79ac35266460dbdcc0921821d4d Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 20 Jun 2011 14:46:09 +0000 Subject: Update Mouse demo to support the UC3 devices in the MultiArchDemos branch. --- Demos/Device/ClassDriver/Mouse/Mouse.h | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) (limited to 'Demos/Device/ClassDriver/Mouse/Mouse.h') diff --git a/Demos/Device/ClassDriver/Mouse/Mouse.h b/Demos/Device/ClassDriver/Mouse/Mouse.h index c85932afb..6e1827512 100644 --- a/Demos/Device/ClassDriver/Mouse/Mouse.h +++ b/Demos/Device/ClassDriver/Mouse/Mouse.h @@ -37,22 +37,28 @@ #define _MOUSE_H_ /* Includes: */ - #include - #include - #include - #include - #include - #include - #include - - #include "Descriptors.h" - - #include + #include #include #include #include #include + #if (ARCH == ARCH_AVR8) + #include + #include + #include + #include + #include + #include + #include + #elif (ARCH == ARCH_UC3) + #include + + #include + #endif + + #include "Descriptors.h" + /* Macros: */ /** LED mask for the library LED driver, to indicate that the USB interface is not ready. */ #define LEDMASK_USB_NOTREADY LEDS_LED1 -- cgit v1.2.3