Add extra idle debug stack size in case all STATS are enabled

pull/11023/head
Laurent Meunier 2019-05-27 13:33:35 +02:00 committed by Evelyne Donnaes
parent 8a86811f1a
commit 4a6310a26b
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@
#endif
// Increase the idle thread stack size when debug is enabled
#if defined(MBED_DEBUG)
#if defined(MBED_DEBUG) || defined(MBED_ALL_STATS_ENABLED)
#define EXTRA_IDLE_STACK_DEBUG MBED_CONF_RTOS_IDLE_THREAD_STACK_SIZE_DEBUG_EXTRA
#else
#define EXTRA_IDLE_STACK_DEBUG 0