diff options
| author | Barry Wardell <rockbox@barrywardell.net> | 2007-03-03 23:37:17 +0000 |
|---|---|---|
| committer | Barry Wardell <rockbox@barrywardell.net> | 2007-03-03 23:37:17 +0000 |
| commit | 169ebdbda7d805e83de06cd013759e6281d5db34 (patch) | |
| tree | cbc23eea79cceb9611ee825ce3070d12d4b80db8 /apps/debug_menu.c | |
| parent | 8b061252c4359aa960ae31c0a4b2ba92f6771017 (diff) | |
| download | rockbox-169ebdbda7d805e83de06cd013759e6281d5db34.zip rockbox-169ebdbda7d805e83de06cd013759e6281d5db34.tar.gz rockbox-169ebdbda7d805e83de06cd013759e6281d5db34.tar.bz2 rockbox-169ebdbda7d805e83de06cd013759e6281d5db34.tar.xz | |
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.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 135c350..c939f02 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -582,6 +582,12 @@ static bool dbg_hw_info(void) snprintf(buf, sizeof(buf), "HW rev: 0x%08x", ipod_hw_rev); lcd_puts(0, 1, buf); + char pp_version[] = { (PP_VER2 >> 24) & 0xff, (PP_VER2 >> 16) & 0xff, + (PP_VER2 >> 8) & 0xff, (PP_VER2) & 0xff, + (PP_VER1 >> 24) & 0xff, (PP_VER1 >> 16) & 0xff, + (PP_VER1 >> 8) & 0xff, (PP_VER1) & 0xff, '\0' }; + snprintf(buf, sizeof(buf), "PP version: %s", pp_version); + lcd_puts(0, 2, buf); lcd_update(); while(1) |