diff options
Diffstat (limited to 'Projects/AVRISP/Lib/ISPTarget.h')
-rw-r--r-- | Projects/AVRISP/Lib/ISPTarget.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Projects/AVRISP/Lib/ISPTarget.h b/Projects/AVRISP/Lib/ISPTarget.h index 4c4b891d1..da5bd30d1 100644 --- a/Projects/AVRISP/Lib/ISPTarget.h +++ b/Projects/AVRISP/Lib/ISPTarget.h @@ -49,8 +49,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: */
|