X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/8d494808919315ec4aaeb3f568e61cb93031d956..5687ac7316335009160ccd7f56fce5e7746c5889:/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c?ds=inline diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c index 0057a675f..e7b57da17 100644 --- a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c +++ b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c @@ -237,7 +237,7 @@ static void XPROGProtocol_Erase(void) else { /* Erase the target memory, indicate timeout if ocurred */ - if (!(TINYNVM_EraseMemory())) + if (!(TINYNVM_EraseMemory(TINY_NVM_CMD_CHIPERASE, Erase_XPROG_Params.Address))) ReturnStatus = XPRG_ERR_TIMEOUT; }