Fix the tokens which enable and disable the different programming protocols in the...
[pub/USBasp.git] / Projects / AVRISP / Lib / ISPTarget.h
index 4c4b891..da5bd30 100644 (file)
 \r
        /* Preprocessor Checks: */\r
                #if BOARD == BOARD_XPLAIN\r
-                       #undef  ENABLE_SPI_PROTOCOL\r
-                       #define ENABLE_PDI_PROTOCOL\r
+                       #undef  ENABLE_ISP_PROTOCOL\r
+                       \r
+                       #if !defined(ENABLE_PDI_PROTOCOL)\r
+                               #define ENABLE_PDI_PROTOCOL\r
+                       #endif\r
                #endif\r
 \r
        /* Macros: */\r