aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-10-02 10:02:24 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-10-02 10:02:24 +0000
commita447ae134f416ab45dcfe3dfe5dd1222bb908be2 (patch)
tree5c985bc6efdc2a26f4e64b62a1db1d2bbb7c2f0c /Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c
parent824ce103905f3892fa0c4f409962315057f18a81 (diff)
downloadlufa-a447ae134f416ab45dcfe3dfe5dd1222bb908be2.tar.gz
lufa-a447ae134f416ab45dcfe3dfe5dd1222bb908be2.tar.bz2
lufa-a447ae134f416ab45dcfe3dfe5dd1222bb908be2.zip
Fixed broken lock byte programming in the AVRISP-MKII clone project for some XMEGA targets.
Diffstat (limited to 'Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c')
-rw-r--r--Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c
index 0f5269db9..85820fd31 100644
--- a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c
+++ b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c
@@ -324,8 +324,6 @@ static void XPROGProtocol_WriteMemory(void)
EraseBuffCommand = XMEGA_NVM_CMD_ERASEEEPROMPAGEBUFF;
break;
case XPRG_MEM_TYPE_USERSIG:
- /* User signature is paged, but needs us to manually indicate the mode bits since the host doesn't set them */
- WriteMemory_XPROG_Params.PageMode = (XPRG_PAGEMODE_ERASE | XPRG_PAGEMODE_WRITE);
WriteCommand = XMEGA_NVM_CMD_WRITEUSERSIG;
break;
case XPRG_MEM_TYPE_FUSE: