aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP/Lib/V2Protocol.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-03 09:12:36 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-03 09:12:36 +0000
commit258a6a01777afadbf6913246f12a7106b421b795 (patch)
tree0c10168d0bd5462d4ef595d35f3140e75f62dc60 /Projects/AVRISP/Lib/V2Protocol.c
parentbae00a3d42f150482c973a7238f3501ccd026063 (diff)
downloadlufa-258a6a01777afadbf6913246f12a7106b421b795.tar.gz
lufa-258a6a01777afadbf6913246f12a7106b421b795.tar.bz2
lufa-258a6a01777afadbf6913246f12a7106b421b795.zip
Fix the tokens which enable and disable the different programming protocols in the AVRISP project.
Diffstat (limited to 'Projects/AVRISP/Lib/V2Protocol.c')
-rw-r--r--Projects/AVRISP/Lib/V2Protocol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/AVRISP/Lib/V2Protocol.c b/Projects/AVRISP/Lib/V2Protocol.c
index 24f208046..dfb04c674 100644
--- a/Projects/AVRISP/Lib/V2Protocol.c
+++ b/Projects/AVRISP/Lib/V2Protocol.c
@@ -66,7 +66,7 @@ void V2Protocol_ProcessCommand(void)
case CMD_RESET_PROTECTION:
V2Protocol_ResetProtection();
break;
-#if defined(ENABLE_SPI_PROTOCOL)
+#if defined(ENABLE_ISP_PROTOCOL)
case CMD_ENTER_PROGMODE_ISP:
ISPProtocol_EnterISPMode();
break;
@@ -98,7 +98,7 @@ void V2Protocol_ProcessCommand(void)
ISPProtocol_SPIMulti();
break;
#endif
-#if defined(ENABLE_XPROG_PROTOCOL)
+#if defined(ENABLE_PDI_PROTOCOL)
case CMD_XPROG_SETMODE:
PDIProtocol_XPROG_SetMode();
break;