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
index cffb91e..7bb8f71 100644 (file)
@@ -344,16 +344,7 @@ static void V2Protocol_Command_ReadMemory(uint8_t V2Command)
        }\r
 \r
        Endpoint_Write_Byte(STATUS_CMD_OK);\r
-       \r
-       bool EndpointBankFull = Endpoint_IsReadWriteAllowed();\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