diff options
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index d865f12e65..fc509ce236 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -127,11 +127,6 @@ static char thread_status_char(unsigned status) | |||
127 | [STATE_KILLED] = 'K', | 127 | [STATE_KILLED] = 'K', |
128 | }; | 128 | }; |
129 | 129 | ||
130 | #if NUM_CORES > 1 | ||
131 | if (status == STATE_BUSY) /* Not a state index */ | ||
132 | return '.'; | ||
133 | #endif | ||
134 | |||
135 | if (status > THREAD_NUM_STATES) | 130 | if (status > THREAD_NUM_STATES) |
136 | status = THREAD_NUM_STATES; | 131 | status = THREAD_NUM_STATES; |
137 | 132 | ||
@@ -166,15 +161,15 @@ static char* threads_getname(int selected_item, void * data, char *buffer) | |||
166 | thread_get_name(name, 32, thread); | 161 | thread_get_name(name, 32, thread); |
167 | 162 | ||
168 | snprintf(buffer, MAX_PATH, | 163 | snprintf(buffer, MAX_PATH, |
169 | "%2d: " IF_COP("(%d) ") "%c%c " IF_PRIO("%d ") "%2d%% %s", | 164 | "%2d: " IF_COP("(%d) ") "%c%c " IF_PRIO("%d %d ") "%2d%% %s", |
170 | selected_item, | 165 | selected_item, |
171 | IF_COP(thread->core,) | 166 | IF_COP(thread->core,) |
172 | #ifdef HAVE_SCHEDULER_BOOSTCTRL | 167 | #ifdef HAVE_SCHEDULER_BOOSTCTRL |
173 | (thread->boosted) ? '+' : | 168 | (thread->cpu_boost) ? '+' : |
174 | #endif | 169 | #endif |
175 | ((thread->state == STATE_RUNNING) ? '*' : ' '), | 170 | ((thread->state == STATE_RUNNING) ? '*' : ' '), |
176 | thread_status_char(thread->state), | 171 | thread_status_char(thread->state), |
177 | IF_PRIO(thread->priority,) | 172 | IF_PRIO(thread->base_priority, thread->priority, ) |
178 | thread_stack_usage(thread), name); | 173 | thread_stack_usage(thread), name); |
179 | 174 | ||
180 | return buffer; | 175 | return buffer; |