Merge pull request #3297 from Mizuho32/master-greentea_client-mutex

added static specifer in green_metrics.cpp
pull/3150/merge
Martin Kojtal 2016-11-21 23:17:48 +00:00 committed by GitHub
commit 4638cea1b2
1 changed files with 1 additions and 1 deletions

View File

@ -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;