Increase SPI stack size to 2048 for BlueNrg driver

This is needed to avoid stack overflow due numerous calls and allocation.
pull/14750/head
Tymoteusz Bloch 2021-06-08 14:45:16 +02:00
parent 7c17693c06
commit 39e821db61
1 changed files with 4 additions and 0 deletions

View File

@ -60,7 +60,11 @@
#define RANDOM_STATIC_ADDRESS_OFFSET 0x80
#define LL_WITHOUT_HOST_OFFSET 0x2C
#ifdef NDEBUG
#define SPI_STACK_SIZE 1024
#else
#define SPI_STACK_SIZE 2048
#endif
#define IRQ_TIMEOUT_DURATION 100 //ms