Skip to content

Commit 7918eec

Browse files
authored
Wrap DEBUG_ISR_STACK_USAGE in an ifndef
So the macro can be declared in mbed_app.json. Currently it's being overwritten.
1 parent f182743 commit 7918eec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mbed_memory_status.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
#include "platform/critical.h"
3333
#include "platform/mbed_stats.h"
3434

35+
#ifndef DEBUG_ISR_STACK_USAGE
3536
#define DEBUG_ISR_STACK_USAGE 0
37+
#endif
3638
#define DEBUG_MEMORY_CONTENTS 0
3739

3840
#define OUTPUT_SERIAL 1

0 commit comments

Comments
 (0)