Made SPI interrupt nonblocking

The programmer works now.
This commit is contained in:
Stefan Beller 2012-05-21 18:30:36 +02:00
parent a6b199d827
commit 2f86dc634d
1 changed files with 2 additions and 1 deletions

View File

@ -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 ++;