mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-05-04 06:33:03 +00:00
Remove the timeout period extension code from the AVRISP project, as no single command should ever exceed the maximum timeout period. Extend timeout period to 1 second per command, so that an accidental timeout will never occur.
This commit is contained in:
@@ -131,7 +131,7 @@ static void XPROGProtocol_EnterXPROGMode(void)
|
||||
XPROGTarget_SendByte(0x07);
|
||||
|
||||
/* Enable access to the XPROG NVM bus by sending the documented NVM access key to the device */
|
||||
XPROGTarget_SendByte(PDI_CMD_KEY);
|
||||
XPROGTarget_SendByte(PDI_CMD_KEY);
|
||||
for (uint8_t i = sizeof(PDI_NVMENABLE_KEY); i > 0; i--)
|
||||
XPROGTarget_SendByte(PDI_NVMENABLE_KEY[i - 1]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user