Fix the tokens which enable and disable the different programming protocols in the...
[pub/USBasp.git] / Projects / AVRISP / Lib / V2Protocol.h
index f65a57c..8a0ac2f 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
 
        /* Macros: */\r