aboutsummaryrefslogtreecommitdiff
path: root/Projects/AVRISP/Lib/ISPProtocol.c
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2009-12-03 07:42:56 +0000
committerDean Camera <[email protected]>2009-12-03 07:42:56 +0000
commita5adbae652bcf5382ef34d71da4d11de15b482a6 (patch)
tree62e488d28a757ce67b514c368a497c1bf1536b08 /Projects/AVRISP/Lib/ISPProtocol.c
parentf69f03cb0d02937dee018264f0ac4e9be76fc1f4 (diff)
downloadqmk_firmware-a5adbae652bcf5382ef34d71da4d11de15b482a6.tar.gz
qmk_firmware-a5adbae652bcf5382ef34d71da4d11de15b482a6.zip
Document the PDI programming routines implemented so far in the AVRISP project. Add ability to selectively disable ISP programming support in addition to the existing ability to disable PDI programming support.
Diffstat (limited to 'Projects/AVRISP/Lib/ISPProtocol.c')
-rw-r--r--Projects/AVRISP/Lib/ISPProtocol.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Projects/AVRISP/Lib/ISPProtocol.c b/Projects/AVRISP/Lib/ISPProtocol.c
index c023234c3a..4847c35fcb 100644
--- a/Projects/AVRISP/Lib/ISPProtocol.c
+++ b/Projects/AVRISP/Lib/ISPProtocol.c
@@ -28,6 +28,8 @@
this software.
*/
+#if defined(ENABLE_SPI_PROTOCOL)
+
/** \file
*
* ISP Protocol handler, to process V2 Protocol wrapped ISP commands used in Atmel programmer devices.
@@ -468,3 +470,5 @@ void ISPProtocol_SPIMulti(void)
Endpoint_Write_Byte(STATUS_CMD_OK);
Endpoint_ClearIN();
}
+
+#endif \ No newline at end of file