Fix TPI mode chip erase code not properly erasing the target memory space.

This commit is contained in:
Dean Camera 2010-02-02 04:33:58 +00:00
parent 8d49480891
commit 5687ac7316
4 changed files with 13 additions and 6 deletions

View file

@ -65,7 +65,7 @@
bool TINYNVM_WaitWhileNVMBusBusy(void);
bool TINYNVM_ReadMemory(const uint16_t ReadAddress, uint8_t* ReadBuffer, uint16_t ReadLength);
bool TINYNVM_WriteMemory(const uint16_t WriteAddress, uint8_t* WriteBuffer, uint16_t WriteLength);
bool TINYNVM_EraseMemory(void);
bool TINYNVM_EraseMemory(const uint8_t EraseCommand, const uint16_t Address);
#if defined(INCLUDE_FROM_TINYNVM_C)
static void TINYNVM_SendReadNVMRegister(const uint8_t Address);