Skip to content

Commit

Permalink
added static specifier to SingletonPtr<Mutex> mutex; in greentea_metr…
Browse files Browse the repository at this point in the history
…ics.cpp ARMmbed#3292
  • Loading branch information
Mizuho32 committed Nov 18, 2016
1 parent a1c0840 commit 2e4f3ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ typedef struct {
} thread_info_t;

// Mutex to protect "buf"
SingletonPtr<Mutex> mutex;
static SingletonPtr<Mutex> mutex;
#if defined(MBED_STACK_STATS_ENABLED) && MBED_STACK_STATS_ENABLED
static char buf[128];
static SingletonPtr<CircularBuffer<thread_info_t, THREAD_BUF_COUNT> > queue;
Expand Down

0 comments on commit 2e4f3ef

Please sign in to comment.