diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-02-02 03:46:49 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-02-02 03:46:49 +0000 |
commit | 8d494808919315ec4aaeb3f568e61cb93031d956 (patch) | |
tree | 8fd7709da696803071fb6e0ed143fc83037cd9fb | |
parent | ec6fbb219fc95ffd5f6f9fffd84eeb5f3fd643a3 (diff) | |
download | lufa-8d494808919315ec4aaeb3f568e61cb93031d956.tar.gz lufa-8d494808919315ec4aaeb3f568e61cb93031d956.tar.bz2 lufa-8d494808919315ec4aaeb3f568e61cb93031d956.zip |
Oops - new Write Word alignment code in the TPI programming function means that the WriteBuffer parameter is no longer const.
-rw-r--r-- | Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.c | 2 | ||||
-rw-r--r-- | Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.c b/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.c index 47a265ace..e3e43dd50 100644 --- a/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.c +++ b/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.c @@ -149,7 +149,7 @@ bool TINYNVM_ReadMemory(const uint16_t ReadAddress, uint8_t* ReadBuffer, uint16_ *
* \return Boolean true if the command sequence complete successfully
*/
-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)
{
/* Wait until the NVM controller is no longer busy */
if (!(TINYNVM_WaitWhileNVMControllerBusy()))
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)
|