Fixed broken lock byte programming in the AVRISP-MKII clone project for some XMEGA targets.

This commit is contained in:
Dean Camera 2010-10-02 10:02:24 +00:00
parent 824ce10390
commit a447ae134f
3 changed files with 11 additions and 3 deletions

View file

@ -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: