We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0113d84 commit f7f6d3bCopy full SHA for f7f6d3b
platform/mbed_stats.c
@@ -9,12 +9,12 @@
9
#ifdef MBED_CONF_RTOS_PRESENT
10
#include "cmsis_os2.h"
11
#include "rtos_idle.h"
12
-#elif defined(MBED_STACK_STATS_ENABLED) || defined(MBED_THREAD_STATS_ENABLED) || defined(MBED_CPU_STATS_ENABLED)
+#elif defined(MBED_STACK_STATS_ENABLED) || defined(MBED_THREAD_STATS_ENABLED)
13
#warning Statistics are currently not supported without the rtos.
14
#endif
15
16
-#if defined(MBED_CPU_STATS_ENABLED) && (!DEVICE_LPTICKER || !DEVICE_SLEEP)
17
-#warning CPU statistics are not supported without low power timer support.
+#if defined(MBED_CPU_STATS_ENABLED) && (!DEVICE_SLEEP)
+#warning CPU statistics are not supported without sleep support.
18
19
20
void mbed_stats_cpu_get(mbed_stats_cpu_t *stats)
0 commit comments