Added CPU Usage monitor host app to the LEDNotifier project.
[pub/USBasp.git] / Projects / AVRISP / Lib / ISPTarget.c
index 8715846..d07cb82 100644 (file)
@@ -35,6 +35,8 @@
 \r
 #include "ISPTarget.h"\r
 \r
+#if defined(ENABLE_ISP_PROTOCOL) || defined(__DOXYGEN__)\r
+\r
 /** Converts the given AVR Studio SCK duration parameter (set by a SET PARAM command from the host) to the nearest\r
  *  possible SPI clock prescaler mask for passing to the SPI_Init() routine.\r
  *\r
@@ -178,3 +180,5 @@ void ISPTarget_LoadExtendedAddress(void)
        SPI_SendByte((CurrentAddress & 0x00FF0000) >> 16);\r
        SPI_SendByte(0x00);     \r
 }\r
+\r
+#endif\r