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 7567c64a21..10d69b018c 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -329,14 +329,14 @@ static bool dbg_buffering_thread(void)
329 329
330 bufused = bufsize - pcmbuf_free(); 330 bufused = bufsize - pcmbuf_free();
331 331
332 snprintf(buf, sizeof(buf), "pcm: %7ld/%7ld", (long) bufused, (long) bufsize); 332 snprintf(buf, sizeof(buf), "pcm: %6ld/%ld", (long) bufused, (long) bufsize);
333 lcd_puts(0, line++, buf); 333 lcd_puts(0, line++, buf);
334 334
335 gui_scrollbar_draw(&screens[SCREEN_MAIN],0, line*8, LCD_WIDTH, 6, 335 gui_scrollbar_draw(&screens[SCREEN_MAIN],0, line*8, LCD_WIDTH, 6,
336 bufsize, 0, bufused, HORIZONTAL); 336 bufsize, 0, bufused, HORIZONTAL);
337 line++; 337 line++;
338 338
339 snprintf(buf, sizeof(buf), "alloc: %8ld/%8ld", audio_filebufused(), 339 snprintf(buf, sizeof(buf), "alloc: %6ld/%ld", audio_filebufused(),
340 (long) filebuflen); 340 (long) filebuflen);
341 lcd_puts(0, line++, buf); 341 lcd_puts(0, line++, buf);
342 342
@@ -345,7 +345,7 @@ static bool dbg_buffering_thread(void)
345 filebuflen, 0, audio_filebufused(), HORIZONTAL); 345 filebuflen, 0, audio_filebufused(), HORIZONTAL);
346 line++; 346 line++;
347 347
348 snprintf(buf, sizeof(buf), "real: %8ld/%8ld", (long)d.buffered_data, 348 snprintf(buf, sizeof(buf), "real: %6ld/%ld", (long)d.buffered_data,
349 (long)filebuflen); 349 (long)filebuflen);
350 lcd_puts(0, line++, buf); 350 lcd_puts(0, line++, buf);
351 351
@@ -354,7 +354,7 @@ static bool dbg_buffering_thread(void)
354 line++; 354 line++;
355#endif 355#endif
356 356
357 snprintf(buf, sizeof(buf), "usefl: %8ld/%8ld", (long)(d.useful_data), 357 snprintf(buf, sizeof(buf), "usefl: %6ld/%ld", (long)(d.useful_data),
358 (long)filebuflen); 358 (long)filebuflen);
359 lcd_puts(0, line++, buf); 359 lcd_puts(0, line++, buf);
360 360
@@ -383,7 +383,7 @@ static bool dbg_buffering_thread(void)
383 { 383 {
384 int boostquota = boost_ticks * 1000 / ticks; /* in 0.1 % */ 384 int boostquota = boost_ticks * 1000 / ticks; /* in 0.1 % */
385 int avgclock = freq_sum * 10 / ticks; /* in 100 kHz */ 385 int avgclock = freq_sum * 10 / ticks; /* in 100 kHz */
386 snprintf(buf, sizeof(buf), "boost ratio: %3d.%d%% (%2d.%dMHz)", 386 snprintf(buf, sizeof(buf), "boost:%3d.%d%% (%d.%dMHz)",
387 boostquota/10, boostquota%10, avgclock/10, avgclock%10); 387 boostquota/10, boostquota%10, avgclock/10, avgclock%10);
388 lcd_puts(0, line++, buf); 388 lcd_puts(0, line++, buf);
389 } 389 }