Document the PDI programming routines implemented so far in the AVRISP project. Add...
[pub/USBasp.git] / Projects / AVRISP / Lib / ISPProtocol.c
index c023234..4847c35 100644 (file)
@@ -28,6 +28,8 @@
   this software.\r
 */\r
 \r
   this software.\r
 */\r
 \r
+#if defined(ENABLE_SPI_PROTOCOL)\r
+\r
 /** \file\r
  *\r
  *  ISP Protocol handler, to process V2 Protocol wrapped ISP commands used in Atmel programmer devices.\r
 /** \file\r
  *\r
  *  ISP Protocol handler, to process V2 Protocol wrapped ISP commands used in Atmel programmer devices.\r
@@ -468,3 +470,5 @@ void ISPProtocol_SPIMulti(void)
        Endpoint_Write_Byte(STATUS_CMD_OK);\r
        Endpoint_ClearIN();\r
 }\r
        Endpoint_Write_Byte(STATUS_CMD_OK);\r
        Endpoint_ClearIN();\r
 }\r
+\r
+#endif
\ No newline at end of file