From cd0093a14bd12d61ceab6860341c1a1fcd0ebb04 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 13 May 2010 09:25:17 +0000 Subject: Fixed AVRISP-MKII clone project not correctly issuing SET EXTENDED ADDRESS commands when the extended address boundary is crossed during programming or readback (thanks to Gerard Sexton). Fixed warnings when building the AVRISP-MKII clone project with the ENABLE_XPROG_PROTOCOL compile time option disabled. --- Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h') diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h index 1fdb5a1b8..c812578e5 100644 --- a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h +++ b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h @@ -119,7 +119,7 @@ void XPROGProtocol_SetMode(void); void XPROGProtocol_Command(void); - #if defined(INCLUDE_FROM_XPROGPROTOCOL_C) + #if (defined(INCLUDE_FROM_XPROGPROTOCOL_C) && defined(ENABLE_XPROG_PROTOCOL)) static void XPROGProtocol_EnterXPROGMode(void); static void XPROGProtocol_LeaveXPROGMode(void); static void XPROGProtocol_SetParam(void); -- cgit v1.2.3