diff options
-rw-r--r-- | apps/debug_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 69149767cc..c4bec5a487 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -146,12 +146,12 @@ bool dbg_os(void) | |||
146 | case ACTION_SETTINGS_DEC: | 146 | case ACTION_SETTINGS_DEC: |
147 | currval--; | 147 | currval--; |
148 | if(currval < 0) | 148 | if(currval < 0) |
149 | currval = num_threads-1; | 149 | currval = num_threads[CPU]-1; |
150 | break; | 150 | break; |
151 | 151 | ||
152 | case ACTION_SETTINGS_INC: | 152 | case ACTION_SETTINGS_INC: |
153 | currval++; | 153 | currval++; |
154 | if(currval > num_threads-1) | 154 | if(currval > num_threads[CPU]-1) |
155 | currval = 0; | 155 | currval = 0; |
156 | break; | 156 | break; |
157 | } | 157 | } |