From 258a6a01777afadbf6913246f12a7106b421b795 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 3 Dec 2009 09:12:36 +0000 Subject: Fix the tokens which enable and disable the different programming protocols in the AVRISP project. --- Projects/AVRISP/Lib/V2Protocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Projects/AVRISP/Lib/V2Protocol.c') diff --git a/Projects/AVRISP/Lib/V2Protocol.c b/Projects/AVRISP/Lib/V2Protocol.c index 24f208046c..dfb04c6744 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; -- cgit v1.2.3