summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-03-03 23:37:17 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-03-03 23:37:17 +0000
commit169ebdbda7d805e83de06cd013759e6281d5db34 (patch)
treecbc23eea79cceb9611ee825ce3070d12d4b80db8 /apps/debug_menu.c
parent8b061252c4359aa960ae31c0a4b2ba92f6771017 (diff)
downloadrockbox-169ebdbda7d805e83de06cd013759e6281d5db34.tar.gz
rockbox-169ebdbda7d805e83de06cd013759e6281d5db34.zip
Some more replacing of inl/outl with register #define's (doesn't change end-result binary). Add lots more #define's based on the ipodlinux wiki and some extrapolation.
Also add PortalPlayer SoC version to the HW info debug screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12575 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 135c35047b..c939f02852 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -582,6 +582,12 @@ static bool dbg_hw_info(void)
582 snprintf(buf, sizeof(buf), "HW rev: 0x%08x", ipod_hw_rev); 582 snprintf(buf, sizeof(buf), "HW rev: 0x%08x", ipod_hw_rev);
583 lcd_puts(0, 1, buf); 583 lcd_puts(0, 1, buf);
584 584
585 char pp_version[] = { (PP_VER2 >> 24) & 0xff, (PP_VER2 >> 16) & 0xff,
586 (PP_VER2 >> 8) & 0xff, (PP_VER2) & 0xff,
587 (PP_VER1 >> 24) & 0xff, (PP_VER1 >> 16) & 0xff,
588 (PP_VER1 >> 8) & 0xff, (PP_VER1) & 0xff, '\0' };
589 snprintf(buf, sizeof(buf), "PP version: %s", pp_version);
590 lcd_puts(0, 2, buf);
585 lcd_update(); 591 lcd_update();
586 592
587 while(1) 593 while(1)