projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix TPI communications in the AVRISP project when bit-banged USART mode is selected.
[pub/USBasp.git]
/
Projects
/
AVRISP-MKII
/
Lib
/
XPROG
/
TINYNVM.c
diff --git
a/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.c
b/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.c
index
9dac31c
..
0e6833a
100644
(file)
--- a/
Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.c
+++ b/
Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.c
@@
-116,7
+116,7
@@
bool TINYNVM_WaitWhileNVMControllerBusy(void)
*
\r
* \return Boolean true if the command sequence complete successfully
\r
*/
\r
*
\r
* \return Boolean true if the command sequence complete successfully
\r
*/
\r
-bool TINYNVM_ReadMemory(const uint
32
_t ReadAddress, uint8_t* ReadBuffer, uint16_t ReadSize)
\r
+bool TINYNVM_ReadMemory(const uint
16
_t ReadAddress, uint8_t* ReadBuffer, uint16_t ReadSize)
\r
{
\r
/* Wait until the NVM controller is no longer busy */
\r
if (!(TINYNVM_WaitWhileNVMControllerBusy()))
\r
{
\r
/* Wait until the NVM controller is no longer busy */
\r
if (!(TINYNVM_WaitWhileNVMControllerBusy()))
\r
@@
-147,7
+147,7
@@
bool TINYNVM_ReadMemory(const uint32_t ReadAddress, uint8_t* ReadBuffer, uint16_
*
\r
* \return Boolean true if the command sequence complete successfully
\r
*/
\r
*
\r
* \return Boolean true if the command sequence complete successfully
\r
*/
\r
-bool TINYNVM_WriteMemory(const uint
32
_t WriteAddress, const uint8_t* WriteBuffer, uint16_t WriteLength)
\r
+bool TINYNVM_WriteMemory(const uint
16
_t WriteAddress, const uint8_t* WriteBuffer, uint16_t WriteLength)
\r
{
\r
/* Wait until the NVM controller is no longer busy */
\r
if (!(TINYNVM_WaitWhileNVMControllerBusy()))
\r
{
\r
/* Wait until the NVM controller is no longer busy */
\r
if (!(TINYNVM_WaitWhileNVMControllerBusy()))
\r