Add Doxygen documentation to the completed portions of the PDI programming protocol...
[pub/USBasp.git] / Projects / AVRISP / Lib / ISPProtocol.h
index 5a144c4..273d7a1 100644 (file)
                #include "V2Protocol.h"\r
                \r
        /* Preprocessor Checks: */\r
                #include "V2Protocol.h"\r
                \r
        /* Preprocessor Checks: */\r
-               #if BOARD == BOARD_XPLAIN\r
-                       #undef  ENABLE_SPI_PROTOCOL\r
-                       #define ENABLE_PDI_PROTOCOL\r
+               #if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))\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
                #endif\r
 \r
        /* Macros: */\r