mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-09-29 13:30:33 +02:00
Fixed AVRISP project not sending a full erase-and-write EEPROM command to XMEGA targets when writing to the EEPROM instead of the split write-only command (thanks to Tim Margush).
This commit is contained in:
@@ -319,7 +319,7 @@ static void XPROGProtocol_WriteMemory(void)
|
||||
WriteCommand = XMEGA_NVM_CMD_WRITEBOOTSECPAGE;
|
||||
break;
|
||||
case XPRG_MEM_TYPE_EEPROM:
|
||||
WriteCommand = XMEGA_NVM_CMD_WRITEEEPROMPAGE;
|
||||
WriteCommand = XMEGA_NVM_CMD_ERASEWRITEEEPROMPAGE;
|
||||
WriteBuffCommand = XMEGA_NVM_CMD_LOADEEPROMPAGEBUFF;
|
||||
EraseBuffCommand = XMEGA_NVM_CMD_ERASEEEPROMPAGEBUFF;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user