Fix PDITarget_ReceiveByte() not discarding the start bit properly, and reading in...
[pub/USBasp.git] / Projects / AVRISP / Lib / ISPProtocol.c
index c023234..6e81ac8 100644 (file)
@@ -28,6 +28,8 @@
   this software.\r
 */\r
 \r
+#if defined(ENABLE_ISP_PROTOCOL) || defined(__DOXYGEN__)\r
+\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
+\r
+#endif
\ No newline at end of file