From 002cd6df49981ad75b2092f2ae6b3efc4e2dd364 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 16 Nov 2010 01:37:43 +0000 Subject: Added new XCK_RESCUE_CLOCK_ENABLE compile time option to the AVRISP-MKII clone programmer project (thanks to Tom Light). --- Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c') diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c index 02fbbf44db..276f63e0ea 100644 --- a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c +++ b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c @@ -196,6 +196,10 @@ static void XPROGProtocol_LeaveXPROGMode(void) XPROGTarget_DisableTargetTPI(); } + #if defined(XCK_RESCUE_CLOCK_ENABLE) && defined(ENABLE_ISP_PROTOCOL) + ISPTarget_ConfigureRescueClock(); + #endif + Endpoint_Write_Byte(CMD_XPROG); Endpoint_Write_Byte(XPRG_CMD_LEAVE_PROGMODE); Endpoint_Write_Byte(XPRG_ERR_OK); -- cgit v1.2.3