Allow configuring maxIRQs (#2401)
This commit is contained in:
parent
94c9932417
commit
bc7adf42c2
1 changed files with 2 additions and 0 deletions
|
|
@ -25,7 +25,9 @@
|
|||
#include <map>
|
||||
|
||||
// Support nested IRQ disable/re-enable
|
||||
#ifndef maxIRQs
|
||||
#define maxIRQs 15
|
||||
#endif
|
||||
static uint32_t _irqStackTop[2] = { 0, 0 };
|
||||
static uint32_t _irqStack[2][maxIRQs];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue