Fix TPI mode chip erase code not properly erasing the target memory space.
[pub/USBasp.git] / Projects / AVRISP-MKII / Lib / XPROG / TINYNVM.h
index c314ded..f8aa140 100644 (file)
@@ -65,7 +65,7 @@
                bool TINYNVM_WaitWhileNVMBusBusy(void);\r
                bool TINYNVM_ReadMemory(const uint16_t ReadAddress, uint8_t* ReadBuffer, uint16_t ReadLength);\r
                bool TINYNVM_WriteMemory(const uint16_t WriteAddress, uint8_t* WriteBuffer, uint16_t WriteLength);\r
-               bool TINYNVM_EraseMemory(void);\r
+               bool TINYNVM_EraseMemory(const uint8_t EraseCommand, const uint16_t Address);\r
 \r
                #if defined(INCLUDE_FROM_TINYNVM_C)\r
                        static void TINYNVM_SendReadNVMRegister(const uint8_t Address);\r