projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed V2 Protocol READ_FLASH_ISP and READ_EEPROM_ISP handler code in the AVRISP project.
[pub/USBasp.git]
/
Projects
/
Incomplete
/
AVRISP
/
Lib
/
V2Protocol.c
diff --git
a/Projects/Incomplete/AVRISP/Lib/V2Protocol.c
b/Projects/Incomplete/AVRISP/Lib/V2Protocol.c
index
cffb91e
..
7bb8f71
100644
(file)
--- a/
Projects/Incomplete/AVRISP/Lib/V2Protocol.c
+++ b/
Projects/Incomplete/AVRISP/Lib/V2Protocol.c
@@
-344,16
+344,7
@@
static void V2Protocol_Command_ReadMemory(uint8_t V2Command)
}
\r
\r
Endpoint_Write_Byte(STATUS_CMD_OK);
\r
}
\r
\r
Endpoint_Write_Byte(STATUS_CMD_OK);
\r
-
\r
- bool EndpointBankFull = Endpoint_IsReadWriteAllowed();
\r
Endpoint_ClearIN();
\r
Endpoint_ClearIN();
\r
-
\r
- /* Ensure data transfer is terminated by a short packet if the last sent bank was completely full */
\r
- if (EndpointBankFull)
\r
- {
\r
- Endpoint_WaitUntilReady();
\r
- Endpoint_ClearIN();
\r
- }
\r
}
\r
\r
static void V2Protocol_Command_ChipErase(void)
\r
}
\r
\r
static void V2Protocol_Command_ChipErase(void)
\r