Make AVRISP project build again - fix incorrect preprocessor directive in V2Protocol.c, fix makefile LUFA_PATH.

pull/1469/head
Dean Camera 15 years ago
parent cfe054474f
commit 244bba2097

@ -55,7 +55,7 @@ uint8_t V2Protocol_GetSPIPrescalerMask(void)
SPI_SPEED_FCPU_DIV_16, // AVRStudio = 500KHz SPI, Actual = 500KHz SPI
SPI_SPEED_FCPU_DIV_32, // AVRStudio = 250KHz SPI, Actual = 250KHz SPI
SPI_SPEED_FCPU_DIV_64 // AVRStudio = 125KHz SPI, Actual = 125KHz SPI
#if (F_CPU == 16000000)
#elif (F_CPU == 16000000)
SPI_SPEED_FCPU_DIV_2, // AVRStudio = 8MHz SPI, Actual = 8MHz SPI
SPI_SPEED_FCPU_DIV_4, // AVRStudio = 4MHz SPI, Actual = 4MHz SPI
SPI_SPEED_FCPU_DIV_8, // AVRStudio = 2MHz SPI, Actual = 2MHz SPI

@ -119,7 +119,7 @@ OBJDIR = .
# Path to the LUFA library
LUFA_PATH = ../../../
LUFA_PATH = ../../
# LUFA library compile-time options

Loading…
Cancel
Save