aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-03-17 11:48:39 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-03-17 11:48:39 +0000
commit9a5ae36a4f62e0cda37972401c61727c6804a985 (patch)
tree77452ab5bbd5fc2fa983d8da6d76e2f883d7b02c /Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c
parent7d51e51c79c3af7791f4c3e8c7e5e8196a2c3f93 (diff)
downloadlufa-9a5ae36a4f62e0cda37972401c61727c6804a985.tar.gz
lufa-9a5ae36a4f62e0cda37972401c61727c6804a985.tar.bz2
lufa-9a5ae36a4f62e0cda37972401c61727c6804a985.zip
Software PDI mode breaks unless the software USART has 100 cycles between bits.
Diffstat (limited to 'Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c')
-rw-r--r--Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c
index 08936a202..07dce5011 100644
--- a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c
+++ b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c
@@ -175,10 +175,6 @@ static void XPROGProtocol_LeaveXPROGMode(void)
/* Clear the RESET key in the RESET PDI register to allow the XMEGA to run */
XPROGTarget_SendByte(PDI_CMD_STCS | PDI_RESET_REG);
XPROGTarget_SendByte(0x00);
-
- /* Clear /RESET key twice (for some reason this needs to be done twice to take effect) */
- XPROGTarget_SendByte(PDI_CMD_STCS | PDI_RESET_REG);
- XPROGTarget_SendByte(0x00);
XPROGTarget_DisableTargetPDI();
}