X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/c647c2763980b374da1c4314c752295d72228d4c..8c6c27d88bb40ecf55f369fc4499ec990d2d93d2:/Projects/AVRISP/Lib/V2ProtocolTarget.c diff --git a/Projects/AVRISP/Lib/V2ProtocolTarget.c b/Projects/AVRISP/Lib/V2ProtocolTarget.c index 169e49ac7..80e8be1e8 100644 --- a/Projects/AVRISP/Lib/V2ProtocolTarget.c +++ b/Projects/AVRISP/Lib/V2ProtocolTarget.c @@ -45,7 +45,7 @@ uint32_t CurrentAddress; */ uint8_t V2Protocol_GetSPIPrescalerMask(void) { - static const uint8_t SPIMaskFromSCKDuration[TOTAL_PROGRAMMING_SPEEDS] = + static const uint8_t SPIMaskFromSCKDuration[] = { #if (F_CPU == 8000000) SPI_SPEED_FCPU_DIV_2, // AVRStudio = 8MHz SPI, Actual = 4MHz SPI @@ -77,7 +77,7 @@ uint8_t V2Protocol_GetSPIPrescalerMask(void) } /** Asserts or deasserts the target's reset line, using the correct polarity as set by the host using a SET PARAM command. - * When not asserted, the line is tristated so as not to intefere with normal device operation. + * When not asserted, the line is tristated so as not to interfere with normal device operation. * * \param[in] ResetTarget Boolean true when the target should be held in reset, false otherwise */