From 8d494808919315ec4aaeb3f568e61cb93031d956 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 2 Feb 2010 03:46:49 +0000 Subject: Oops - new Write Word alignment code in the TPI programming function means that the WriteBuffer parameter is no longer const. --- Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.h') diff --git a/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.h b/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.h index 5a18567cb..c314ded46 100644 --- a/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.h +++ b/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.h @@ -64,7 +64,7 @@ /* Function Prototypes: */ bool TINYNVM_WaitWhileNVMBusBusy(void); bool TINYNVM_ReadMemory(const uint16_t ReadAddress, uint8_t* ReadBuffer, uint16_t ReadLength); - bool TINYNVM_WriteMemory(const uint16_t WriteAddress, const uint8_t* WriteBuffer, uint16_t WriteLength); + bool TINYNVM_WriteMemory(const uint16_t WriteAddress, uint8_t* WriteBuffer, uint16_t WriteLength); bool TINYNVM_EraseMemory(void); #if defined(INCLUDE_FROM_TINYNVM_C) -- cgit v1.2.3