X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/1ed6925b5bf417848b83887b32e3ede05a1c691b..d6e3259f8bd0daadb8d6a01017cfab00cd73f17b:/Projects/AVRISP/Lib/V2Protocol.h diff --git a/Projects/AVRISP/Lib/V2Protocol.h b/Projects/AVRISP/Lib/V2Protocol.h index b31147846..d40f951f9 100644 --- a/Projects/AVRISP/Lib/V2Protocol.h +++ b/Projects/AVRISP/Lib/V2Protocol.h @@ -44,6 +44,16 @@ #include "V2ProtocolConstants.h" #include "V2ProtocolParams.h" #include "ISPProtocol.h" + #include "PDIProtocol.h" + + /* Preprocessor Checks: */ + #if (BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1) + #undef ENABLE_ISP_PROTOCOL + + #if !defined(ENABLE_PDI_PROTOCOL) + #define ENABLE_PDI_PROTOCOL + #endif + #endif /* Macros: */ /** Programmer ID string, returned to the host during the CMD_SIGN_ON command processing */