aboutsummaryrefslogtreecommitdiff
path: root/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2010-05-13 09:25:17 +0000
committerDean Camera <[email protected]>2010-05-13 09:25:17 +0000
commitcd0093a14bd12d61ceab6860341c1a1fcd0ebb04 (patch)
treead4402b674c74297f30c2a72b1522c2ac1d475ee /Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h
parent1331cce08a6e899b15382dd1c6110565ed1b34c5 (diff)
downloadqmk_firmware-cd0093a14bd12d61ceab6860341c1a1fcd0ebb04.tar.gz
qmk_firmware-cd0093a14bd12d61ceab6860341c1a1fcd0ebb04.zip
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.
Diffstat (limited to 'Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h')
-rw-r--r--Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h
index 1fdb5a1b8a..c812578e51 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);