diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-03 09:12:36 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-03 09:12:36 +0000 |
commit | 258a6a01777afadbf6913246f12a7106b421b795 (patch) | |
tree | 0c10168d0bd5462d4ef595d35f3140e75f62dc60 /Projects/AVRISP/Lib/PDITarget.h | |
parent | bae00a3d42f150482c973a7238f3501ccd026063 (diff) | |
download | lufa-258a6a01777afadbf6913246f12a7106b421b795.tar.gz lufa-258a6a01777afadbf6913246f12a7106b421b795.tar.bz2 lufa-258a6a01777afadbf6913246f12a7106b421b795.zip |
Fix the tokens which enable and disable the different programming protocols in the AVRISP project.
Diffstat (limited to 'Projects/AVRISP/Lib/PDITarget.h')
-rw-r--r-- | Projects/AVRISP/Lib/PDITarget.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Projects/AVRISP/Lib/PDITarget.h b/Projects/AVRISP/Lib/PDITarget.h index f2281fe11..0ecc70a26 100644 --- a/Projects/AVRISP/Lib/PDITarget.h +++ b/Projects/AVRISP/Lib/PDITarget.h @@ -44,8 +44,11 @@ /* Preprocessor Checks: */
#if BOARD == BOARD_XPLAIN
- #undef ENABLE_SPI_PROTOCOL
- #define ENABLE_PDI_PROTOCOL
+ #undef ENABLE_ISP_PROTOCOL
+
+ #if !defined(ENABLE_PDI_PROTOCOL)
+ #define ENABLE_PDI_PROTOCOL
+ #endif
#endif
/* Defines: */
|