Increased the speed of both software and hardware TPI/PDI programming modes of the AVRISP project.

This commit is contained in:
Dean Camera 2010-02-21 05:44:12 +00:00
parent 10b9394a8b
commit 12a01ed72d
4 changed files with 10 additions and 5 deletions

View file

@ -42,6 +42,8 @@ uint32_t CurrentAddress;
/** Flag to indicate that the next read/write operation must update the device's current address */
bool MustSetAddress;
bool CommandTimedOut;
/** Initializes the hardware and software associated with the V2 protocol command handling. */
void V2Protocol_Init(void)
{
@ -68,6 +70,8 @@ void V2Protocol_ProcessCommand(void)
{
uint8_t V2Command = Endpoint_Read_Byte();
CommandTimedOut = false;
switch (V2Command)
{
case CMD_SIGN_ON: