summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 2035a45810..815eb5af67 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -567,7 +567,6 @@ bool dbg_partitions(void)
567} 567}
568 568
569#ifdef HAVE_LCD_BITMAP 569#ifdef HAVE_LCD_BITMAP
570static bool boost = false;
571/* Test code!!! */ 570/* Test code!!! */
572bool dbg_ports(void) 571bool dbg_ports(void)
573{ 572{
@@ -694,19 +693,19 @@ bool dbg_ports(void)
694 { 693 {
695 case BUTTON_UP: 694 case BUTTON_UP:
696 cpu_boost(true); 695 cpu_boost(true);
697 snprintf(buf, sizeof(buf), "freq: %d, IDECONFIG1: %08x, IDECONFIG2: %08x", FREQ, IDECONFIG1, IDECONFIG2); 696 snprintf(buf, sizeof(buf), "freq: %ld, IDECONFIG1: %08lx, IDECONFIG2: %08lx", FREQ, IDECONFIG1, IDECONFIG2);
698 splash(HZ, false, buf); 697 splash(HZ, false, buf);
699 break; 698 break;
700 699
701 case BUTTON_DOWN: 700 case BUTTON_DOWN:
702 cpu_boost(false); 701 cpu_boost(false);
703 snprintf(buf, sizeof(buf), "freq: %d, IDECONFIG1: %08x, IDECONFIG2: %08x", FREQ, IDECONFIG1, IDECONFIG2); 702 snprintf(buf, sizeof(buf), "freq: %ld, IDECONFIG1: %08lx, IDECONFIG2: %08lx", FREQ, IDECONFIG1, IDECONFIG2);
704 splash(HZ, false, buf); 703 splash(HZ, false, buf);
705 break; 704 break;
706 705
707 case BUTTON_SELECT: 706 case BUTTON_SELECT:
708 set_cpu_frequency(CPUFREQ_DEFAULT); 707 set_cpu_frequency(CPUFREQ_DEFAULT);
709 snprintf(buf, sizeof(buf), "freq: %d, IDECONFIG1: %08x, IDECONFIG2: %08x", FREQ, IDECONFIG1, IDECONFIG2); 708 snprintf(buf, sizeof(buf), "freq: %ld, IDECONFIG1: %08lx, IDECONFIG2: %08lx", FREQ, IDECONFIG1, IDECONFIG2);
710 splash(HZ, false, buf); 709 splash(HZ, false, buf);
711 break; 710 break;
712 711