diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-03-01 21:53:34 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-03-01 21:53:34 +0000 |
commit | 78520e62441b1460703407285fefa5d90a364f6d (patch) | |
tree | be66b5d2be1cd1e3b1c3ecb2d3b522f16b2bbb81 /apps | |
parent | aceef07c87ded3768b653f3501af01bd3490e93c (diff) | |
download | rockbox-78520e62441b1460703407285fefa5d90a364f6d.tar.gz rockbox-78520e62441b1460703407285fefa5d90a364f6d.zip |
Fixed some warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6098 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/debug_menu.c | 7 |
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 |
570 | static bool boost = false; | ||
571 | /* Test code!!! */ | 570 | /* Test code!!! */ |
572 | bool dbg_ports(void) | 571 | bool 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 | ||