Skip to content

Commit 257c92a

Browse files
author
Bluebie
committed
core: Change external interrupt code to NOBLOCK so it wont mess with USB libraries.
1 parent 15a65a4 commit 257c92a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hardware/tiny-digispark/cores/tiny/WInterrupts.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,15 @@ void detachInterrupt(uint8_t interruptNum)
128128
}
129129

130130
#if NUMBER_EXTERNAL_INTERRUPTS >= 1
131-
ISR(EXTERNAL_INTERRUPT_0_vect)
131+
ISR(EXTERNAL_INTERRUPT_0_vect, ISR_NOBLOCK)
132132
{
133133
if(intFunc[EXTERNAL_INTERRUPT_0])
134134
intFunc[EXTERNAL_INTERRUPT_0]();
135135
}
136136
#endif
137137

138138
#if NUMBER_EXTERNAL_INTERRUPTS >= 2
139-
ISR(EXTERNAL_INTERRUPT_1_vect)
139+
ISR(EXTERNAL_INTERRUPT_1_vect, ISR_NOBLOCK)
140140
{
141141
if(intFunc[EXTERNAL_INTERRUPT_1])
142142
intFunc[EXTERNAL_INTERRUPT_1]();

0 commit comments

Comments
 (0)