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

pull/10702/head
Laurent Meunier 2019-05-27 13:33:35 +02:00
parent 9cc1caa031
commit 6f46fd3476
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