Switch back to C based timeout ISR in the AVRISP project - assembly version was failing, and only one or two cycles could be shaved off the compiler generated code.

This commit is contained in:
Dean Camera 2010-05-02 06:02:54 +00:00
parent 3d28d53c3e
commit a5e79333e5
5 changed files with 22 additions and 26 deletions

View file

@ -43,6 +43,12 @@ uint32_t CurrentAddress;
bool MustSetAddress;
ISR(TIMER0_COMPA_vect, ISR_NOBLOCK)
{
if (TimeoutMSRemaining)
TimeoutMSRemaining--;
}
/** Initializes the hardware and software associated with the V2 protocol command handling. */
void V2Protocol_Init(void)
{