diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-05-29 12:47:56 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-05-29 12:47:56 +0000 |
| commit | 1894cbc49b43e06f33c0f4b0050d71640e0deb74 (patch) | |
| tree | a0292668256c00166ee52cac38da1d4dc7316726 /Projects/AVRISP-MKII/Lib/ISP/ISPTarget.h | |
| parent | 25abda400cb3f1da38693b624d34972d7a7337e5 (diff) | |
Oops - revert commit of an incomplete port of the AVRISP-MKII project.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1772 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Projects/AVRISP-MKII/Lib/ISP/ISPTarget.h')
| -rw-r--r-- | Projects/AVRISP-MKII/Lib/ISP/ISPTarget.h | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.h b/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.h index e183dee0..057aa7ad 100644 --- a/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.h +++ b/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.h @@ -37,19 +37,12 @@ #define _ISP_TARGET_ /* Includes: */ - #include <LUFA/Common/Common.h> + #include <avr/io.h> + #include <avr/pgmspace.h> + #include <util/delay.h> + #include <LUFA/Drivers/USB/USB.h> - - #if defined(ENABLE_ISP_PROTOCOL) || defined(__DOXYGEN__) - #include <LUFA/Drivers/Peripheral/SPI.h> // TODO: FIXME - #endif - - #if (ARCH == ARCH_AVR8) - #include <avr/io.h> - #include <avr/pgmspace.h> - #elif (ARCH == ARCH_UC3) - #include <avr32/io.h> - #endif + #include <LUFA/Drivers/Peripheral/SPI.h> #include "../V2ProtocolParams.h" @@ -91,7 +84,6 @@ const uint8_t ReadMemCommand); /* Inline Functions: */ - #if defined(ENABLE_ISP_PROTOCOL) || defined(__DOXYGEN__) /** Sends a byte of ISP data to the attached target, using the appropriate SPI hardware or * software routines depending on the selected ISP speed. * @@ -132,7 +124,6 @@ else return ISPTarget_TransferSoftSPIByte(Byte); } - #endif #endif |
