Add stats header file to mbed.h

All API header files should be part of mbed.h
pull/6784/head
deepikabhavnani 2018-05-02 14:15:01 -05:00
parent a228fd0f3b
commit 52c33b5494
2 changed files with 2 additions and 5 deletions

1
mbed.h
View File

@ -92,6 +92,7 @@
#include "platform/DirHandle.h"
#include "platform/CriticalSectionLock.h"
#include "platform/DeepSleepLock.h"
#include "platform/mbed_stats.h"
// mbed Non-hardware components
#include "platform/Callback.h"

View File

@ -45,11 +45,7 @@
#error "OS Tickrate must be 1000 for system timing"
#endif
#if !defined(OS_STACK_WATERMARK) && defined(MBED_STACK_STATS_ENABLED)
#define OS_STACK_WATERMARK 1
#endif
#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))
#define OS_STACK_WATERMARK 1
#endif