Skip to content

Commit 68706d6

Browse files
Restore missing irqStackTop decrement
Fixes #3152
1 parent 512b291 commit 68706d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/rp2040/wiring_private.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ extern "C" void interrupts() {
6262
#else
6363
uint32_t mask = _irqStack[core] & 1;
6464
_irqStack[core] >>= 1;
65+
_irqStackTop[core]--;
6566
restore_interrupts(mask);
6667
#endif
6768
}

0 commit comments

Comments
 (0)