Fix TPI NVM Write handler -- AVRStudio sends out writes in page sized chunks, not byte sized chunks.

This commit is contained in:
Dean Camera 2009-12-28 07:50:20 +00:00
parent 7c8f4a716f
commit 4600fd0cb6
4 changed files with 22 additions and 9 deletions

View file

@ -65,7 +65,7 @@
void TINYNVM_SendPointerAddress(const uint16_t AbsoluteAddress);
bool TINYNVM_WaitWhileNVMBusBusy(void);
bool TINYNVM_ReadMemory(const uint32_t ReadAddress, uint8_t* ReadBuffer, uint16_t ReadLength);
bool TINYNVM_WriteMemory(const uint32_t WriteAddress, const uint8_t Byte);
bool TINYNVM_WriteMemory(const uint32_t WriteAddress, const uint8_t* WriteBuffer, uint16_t WriteLength);
bool TINYNVM_EraseMemory(void);
#endif