File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 8
8
#include "device.h"
9
9
#ifdef MBED_CONF_RTOS_PRESENT
10
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 )
11
+ #elif defined(MBED_STACK_STATS_ENABLED ) || defined(MBED_THREAD_STATS_ENABLED )
13
12
#warning Statistics are currently not supported without the rtos.
14
13
#endif
15
14
16
- #if defined(MBED_CPU_STATS_ENABLED ) && (!DEVICE_LPTICKER || ! DEVICE_SLEEP )
17
- #warning CPU statistics are not supported without low power timer support.
15
+ #if defined(MBED_CPU_STATS_ENABLED ) && (!DEVICE_SLEEP )
16
+ #warning CPU statistics are not supported without sleep support.
18
17
#endif
19
18
20
19
void mbed_stats_cpu_get (mbed_stats_cpu_t * stats )
You can’t perform that action at this time.
0 commit comments