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 86e02a1..b4cd056 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -208,8 +208,8 @@ bool dbg_audio_thread(void)
}
#else
extern size_t audiobuffer_free;
-extern int codecbuflen;
-extern int codecbufused;
+extern int filebuflen;
+extern int filebufused;
extern int track_count;
static int ticks, boost_ticks;
@@ -260,12 +260,12 @@ bool dbg_audio_thread(void)
bufsize-audiobuffer_free, HORIZONTAL);
line++;
- snprintf(buf, sizeof(buf), "codec: %d/%d", codecbufused, codecbuflen);
+ snprintf(buf, sizeof(buf), "codec: %d/%d", filebufused, filebuflen);
lcd_puts(0, line++, buf);
/* Playable space left */
- scrollbar(0, line*8, LCD_WIDTH, 6, codecbuflen, 0,
- codecbufused, HORIZONTAL);
+ scrollbar(0, line*8, LCD_WIDTH, 6, filebuflen, 0,
+ filebufused, HORIZONTAL);
line++;
snprintf(buf, sizeof(buf), "track count: %d", track_count);