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 88#include "device.h"
99#ifdef MBED_CONF_RTOS_PRESENT
1010#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 )
1312#warning Statistics are currently not supported without the rtos.
1413#endif
1514
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.
1817#endif
1918
2019void mbed_stats_cpu_get (mbed_stats_cpu_t * stats )
You can’t perform that action at this time.
0 commit comments