summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 86e02a1e84..b4cd05699c 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -208,8 +208,8 @@ bool dbg_audio_thread(void)
208} 208}
209#else 209#else
210extern size_t audiobuffer_free; 210extern size_t audiobuffer_free;
211extern int codecbuflen; 211extern int filebuflen;
212extern int codecbufused; 212extern int filebufused;
213extern int track_count; 213extern int track_count;
214 214
215static int ticks, boost_ticks; 215static int ticks, boost_ticks;
@@ -260,12 +260,12 @@ bool dbg_audio_thread(void)
260 bufsize-audiobuffer_free, HORIZONTAL); 260 bufsize-audiobuffer_free, HORIZONTAL);
261 line++; 261 line++;
262 262
263 snprintf(buf, sizeof(buf), "codec: %d/%d", codecbufused, codecbuflen); 263 snprintf(buf, sizeof(buf), "codec: %d/%d", filebufused, filebuflen);
264 lcd_puts(0, line++, buf); 264 lcd_puts(0, line++, buf);
265 265
266 /* Playable space left */ 266 /* Playable space left */
267 scrollbar(0, line*8, LCD_WIDTH, 6, codecbuflen, 0, 267 scrollbar(0, line*8, LCD_WIDTH, 6, filebuflen, 0,
268 codecbufused, HORIZONTAL); 268 filebufused, HORIZONTAL);
269 line++; 269 line++;
270 270
271 snprintf(buf, sizeof(buf), "track count: %d", track_count); 271 snprintf(buf, sizeof(buf), "track count: %d", track_count);