diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-05-29 12:47:56 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-05-29 12:47:56 +0000 |
commit | 0b6d5467bc70ba36ff71a186da9cf4d0742612a6 (patch) | |
tree | a0292668256c00166ee52cac38da1d4dc7316726 /Projects/AVRISP-MKII/AVRISP-MKII.h | |
parent | ea922c98d187eb74c31535afa3334ead5bd50526 (diff) | |
download | lufa-0b6d5467bc70ba36ff71a186da9cf4d0742612a6.tar.gz lufa-0b6d5467bc70ba36ff71a186da9cf4d0742612a6.tar.bz2 lufa-0b6d5467bc70ba36ff71a186da9cf4d0742612a6.zip |
Oops - revert commit of an incomplete port of the AVRISP-MKII project.
Diffstat (limited to 'Projects/AVRISP-MKII/AVRISP-MKII.h')
-rw-r--r-- | Projects/AVRISP-MKII/AVRISP-MKII.h | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/Projects/AVRISP-MKII/AVRISP-MKII.h b/Projects/AVRISP-MKII/AVRISP-MKII.h index 5a0d09111..2650b4939 100644 --- a/Projects/AVRISP-MKII/AVRISP-MKII.h +++ b/Projects/AVRISP-MKII/AVRISP-MKII.h @@ -37,7 +37,11 @@ #define _AVRISP_H_ /* Includes: */ - #include <LUFA/Common/Common.h> + #include <avr/io.h> + #include <avr/wdt.h> + #include <avr/interrupt.h> + #include <avr/power.h> + #include <LUFA/Version.h> #include <LUFA/Drivers/Board/LEDs.h> #include <LUFA/Drivers/USB/USB.h> @@ -46,17 +50,6 @@ #include <LUFA/Drivers/Peripheral/ADC.h> #endif - #if (ARCH == ARCH_AVR8) - #include <avr/io.h> - #include <avr/wdt.h> - #include <avr/interrupt.h> - #include <avr/power.h> - #elif (ARCH == ARCH_UC3) - #include <avr32/io.h> - - #include <LUFA/Platform/UC3/INTC_UC3.h> // TODO: FIXME - #endif - #include "Descriptors.h" #include "Lib/V2Protocol.h" @@ -76,6 +69,9 @@ /** LED mask for the library LED driver, to indicate that the USB interface is busy. */ #define LEDMASK_BUSY (LEDS_LED1 | LEDS_LED2) + /** LED mask for the library LED driver, to indicate that the target is being powered by VBUS. */ + #define LEDMASK_VBUSPOWER LEDS_LED3 + /* Function Prototypes: */ void SetupHardware(void); void AVRISP_Task(void); |