We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a228fd0 commit 52c33b5Copy full SHA for 52c33b5
mbed.h
@@ -92,6 +92,7 @@
92
#include "platform/DirHandle.h"
93
#include "platform/CriticalSectionLock.h"
94
#include "platform/DeepSleepLock.h"
95
+#include "platform/mbed_stats.h"
96
97
// mbed Non-hardware components
98
#include "platform/Callback.h"
rtos/TARGET_CORTEX/mbed_rtx_conf.h
@@ -45,11 +45,7 @@
45
#error "OS Tickrate must be 1000 for system timing"
46
#endif
47
48
-#if !defined(OS_STACK_WATERMARK) && defined(MBED_STACK_STATS_ENABLED)
49
-#define OS_STACK_WATERMARK 1
50
-#endif
51
-
52
-#if !defined(OS_STACK_WATERMARK) && defined(MBED_ALL_STATS_ENABLED)
+#if !defined(OS_STACK_WATERMARK) && (defined(MBED_STACK_STATS_ENABLED) || defined(MBED_ALL_STATS_ENABLED))
53
#define OS_STACK_WATERMARK 1
54
55
0 commit comments