Make AVRISP project build again - fix incorrect preprocessor directive in V2Protocol...
authorDean Camera <dean@fourwalledcubicle.com>
Tue, 25 Aug 2009 13:26:34 +0000 (13:26 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Tue, 25 Aug 2009 13:26:34 +0000 (13:26 +0000)
Projects/AVRISP/Lib/V2ProtocolTarget.c
Projects/AVRISP/makefile

index a39c5e9..c36295e 100644 (file)
@@ -55,7 +55,7 @@ uint8_t V2Protocol_GetSPIPrescalerMask(void)
                SPI_SPEED_FCPU_DIV_16,   // AVRStudio = 500KHz SPI, Actual = 500KHz SPI\r
                SPI_SPEED_FCPU_DIV_32,   // AVRStudio = 250KHz SPI, Actual = 250KHz SPI\r
                SPI_SPEED_FCPU_DIV_64    // AVRStudio = 125KHz SPI, Actual = 125KHz SPI \r
                SPI_SPEED_FCPU_DIV_16,   // AVRStudio = 500KHz SPI, Actual = 500KHz SPI\r
                SPI_SPEED_FCPU_DIV_32,   // AVRStudio = 250KHz SPI, Actual = 250KHz SPI\r
                SPI_SPEED_FCPU_DIV_64    // AVRStudio = 125KHz SPI, Actual = 125KHz SPI \r
-       #if (F_CPU == 16000000)\r
+       #elif (F_CPU == 16000000)\r
                SPI_SPEED_FCPU_DIV_2,    // AVRStudio =   8MHz SPI, Actual =   8MHz SPI\r
                SPI_SPEED_FCPU_DIV_4,    // AVRStudio =   4MHz SPI, Actual =   4MHz SPI\r
                SPI_SPEED_FCPU_DIV_8,    // AVRStudio =   2MHz SPI, Actual =   2MHz SPI\r
                SPI_SPEED_FCPU_DIV_2,    // AVRStudio =   8MHz SPI, Actual =   8MHz SPI\r
                SPI_SPEED_FCPU_DIV_4,    // AVRStudio =   4MHz SPI, Actual =   4MHz SPI\r
                SPI_SPEED_FCPU_DIV_8,    // AVRStudio =   2MHz SPI, Actual =   2MHz SPI\r
index 72b1fd7..84ca93a 100644 (file)
@@ -119,7 +119,7 @@ OBJDIR = .
 \r
 \r
 # Path to the LUFA library\r
 \r
 \r
 # Path to the LUFA library\r
-LUFA_PATH = ../../../\r
+LUFA_PATH = ../../\r
 \r
 \r
 # LUFA library compile-time options\r
 \r
 \r
 # LUFA library compile-time options\r