Made SPI interrupt nonblocking
The programmer works now.
This commit is contained in:
parent
a6b199d827
commit
2f86dc634d
@ -46,7 +46,8 @@ static uchar prog_blockflags;
|
||||
static uchar prog_pagecounter;
|
||||
|
||||
|
||||
ISR(SPI_STC_vect )
|
||||
|
||||
ISR(SPI_STC_vect, ISR_NOBLOCK)
|
||||
{
|
||||
comBuffer[comStop] = SPDR;
|
||||
comStop ++;
|
||||
|
Loading…
Reference in New Issue
Block a user