aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP/Lib/ISPTarget.h
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/AVRISP/Lib/ISPTarget.h')
-rw-r--r--Projects/AVRISP/Lib/ISPTarget.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Projects/AVRISP/Lib/ISPTarget.h b/Projects/AVRISP/Lib/ISPTarget.h
index 121d7893f..4c4b891d1 100644
--- a/Projects/AVRISP/Lib/ISPTarget.h
+++ b/Projects/AVRISP/Lib/ISPTarget.h
@@ -47,6 +47,12 @@
#include "V2ProtocolConstants.h"
#include "V2ProtocolParams.h"
+ /* Preprocessor Checks: */
+ #if BOARD == BOARD_XPLAIN
+ #undef ENABLE_SPI_PROTOCOL
+ #define ENABLE_PDI_PROTOCOL
+ #endif
+
/* Macros: */
/** Total number of allowable ISP programming speeds supported by the device */
#define TOTAL_ISP_PROGRAMMING_SPEEDS 7