Remove redundant check in the software PDI programming code of the AVRISP project.
This commit is contained in:
parent
9a5ae36a4f
commit
72527867f6
3 changed files with 2 additions and 7 deletions
|
@ -80,10 +80,6 @@ ISR(TIMER1_COMPA_vect, ISR_BLOCK)
|
|||
}
|
||||
else
|
||||
{
|
||||
/* If not sending or receiving, just exit */
|
||||
if (!(SoftUSART_BitCount))
|
||||
return;
|
||||
|
||||
/* If at falling clock edge and we are in receive mode, abort */
|
||||
if (!IsSending)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue