aboutsummaryrefslogtreecommitdiff
path: root/Projects/AVRISP-MKII
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-11-02 11:16:36 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-11-02 11:16:36 +0000
commit6b81d2a0575d527f03144847b7d766fa0cfd0708 (patch)
tree747e8d780439dfb625678204d78c250c5b6646f3 /Projects/AVRISP-MKII
parentb18c429c87ce0d3bba475c8cf0ae674be186baab (diff)
Fix XPLAINBridge code broken during the changes to the Rescue Clock generation in the AVRISP-MKII clone project.
Change over all low level host mode project's descriptor comparator routines to perform the descriptor casting in a temp variable to make the code clearer and easier to modify (despite being more verbose). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1550 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Projects/AVRISP-MKII')
-rw-r--r--Projects/AVRISP-MKII/Lib/V2Protocol.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Projects/AVRISP-MKII/Lib/V2Protocol.c b/Projects/AVRISP-MKII/Lib/V2Protocol.c
index 208d7b77..e2c65867 100644
--- a/Projects/AVRISP-MKII/Lib/V2Protocol.c
+++ b/Projects/AVRISP-MKII/Lib/V2Protocol.c
@@ -66,7 +66,10 @@ void V2Protocol_Init(void)
TIMSK0 = (1 << OCIE0A);
V2Params_LoadNonVolatileParamValues();
+
+ #if defined(ENABLE_ISP_PROTOCOL)
ISPTarget_ConfigureRescueClock();
+ #endif
}
/** Master V2 Protocol packet handler, for received V2 Protocol packets from a connected host.