From 1fa27139f5c195c0d7147dac0c5332a6ea10229a Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 14 Dec 2009 02:59:34 +0000 Subject: Split out NVM access code in the AVRISP project into a seperate NVMTarget.c source file and header. Make NVM register accesses use the NVM base address as set by the host, rather than using the fixed value from the XMEGA datasheet. --- Projects/AVRISP/Lib/ISPTarget.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Projects/AVRISP/Lib/ISPTarget.h') diff --git a/Projects/AVRISP/Lib/ISPTarget.h b/Projects/AVRISP/Lib/ISPTarget.h index bf884ae26..13ca09d3f 100644 --- a/Projects/AVRISP/Lib/ISPTarget.h +++ b/Projects/AVRISP/Lib/ISPTarget.h @@ -48,8 +48,8 @@ #include "V2ProtocolParams.h" /* Preprocessor Checks: */ - #if (BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1) - #undef ENABLE_ISP_PROTOCOL + #if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1)) + #undef ENABLE_ISP_PROTOCOL #if !defined(ENABLE_PDI_PROTOCOL) #define ENABLE_PDI_PROTOCOL -- cgit v1.2.3