Skip to content

Commit

Permalink
Add stats header file to mbed.h
Browse files Browse the repository at this point in the history
All API header files should be part of mbed.h
  • Loading branch information
deepikabhavnani committed May 9, 2018
1 parent a228fd0 commit 52c33b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions mbed.h
Expand Up @@ -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"
Expand Down
6 changes: 1 addition & 5 deletions rtos/TARGET_CORTEX/mbed_rtx_conf.h
Expand Up @@ -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

Expand Down

0 comments on commit 52c33b5

Please sign in to comment.