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:
parent
3d28d53c3e
commit
a5e79333e5
5 changed files with 22 additions and 26 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue