aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP/Lib/V2Protocol.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-03 09:12:36 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-03 09:12:36 +0000
commit258a6a01777afadbf6913246f12a7106b421b795 (patch)
tree0c10168d0bd5462d4ef595d35f3140e75f62dc60 /Projects/AVRISP/Lib/V2Protocol.h
parentbae00a3d42f150482c973a7238f3501ccd026063 (diff)
downloadlufa-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/V2Protocol.h')
-rw-r--r--Projects/AVRISP/Lib/V2Protocol.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Projects/AVRISP/Lib/V2Protocol.h b/Projects/AVRISP/Lib/V2Protocol.h
index f65a57c06..8a0ac2f7d 100644
--- a/Projects/AVRISP/Lib/V2Protocol.h
+++ b/Projects/AVRISP/Lib/V2Protocol.h
@@ -48,8 +48,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
/* Macros: */