Fixed V2 Protocol READ_FLASH_ISP and READ_EEPROM_ISP handler code in the AVRISP project.
authorDean Camera <dean@fourwalledcubicle.com>
Mon, 24 Aug 2009 10:08:02 +0000 (10:08 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Mon, 24 Aug 2009 10:08:02 +0000 (10:08 +0000)
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
 \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