From: Dean Camera Date: Mon, 24 Aug 2009 10:08:02 +0000 (+0000) Subject: Fixed V2 Protocol READ_FLASH_ISP and READ_EEPROM_ISP handler code in the AVRISP project. X-Git-Tag: LUFA-110528-BETA~964 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/f9c0357b731e5ca4a5456056bbbe2e4a8a2dc9fe?ds=inline Fixed V2 Protocol READ_FLASH_ISP and READ_EEPROM_ISP handler code in the AVRISP project. --- diff --git a/Projects/Incomplete/AVRISP/Lib/V2Protocol.c b/Projects/Incomplete/AVRISP/Lib/V2Protocol.c index cffb91e02..7bb8f71ca 100644 --- 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) } Endpoint_Write_Byte(STATUS_CMD_OK); - - bool EndpointBankFull = Endpoint_IsReadWriteAllowed(); Endpoint_ClearIN(); - - /* Ensure data transfer is terminated by a short packet if the last sent bank was completely full */ - if (EndpointBankFull) - { - Endpoint_WaitUntilReady(); - Endpoint_ClearIN(); - } } static void V2Protocol_Command_ChipErase(void)