From 099ef226b61f4ad45d8f9bff046a22572c3eb619 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Fri, 22 Oct 2004 20:44:26 +0000 Subject: for Ondio: ATA info taken out of debug screens git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5325 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 898cf8bad9..77ebe019f8 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -349,18 +349,14 @@ bool dbg_hw_info(void) snprintf(buf, 32, "USB: %s", usb_polarity?"positive":"negative"); lcd_puts(0, 3, buf); - snprintf(buf, 32, "ATA: 0x%x,%s", ata_io_address, - ata_device ? "slave":"master"); - lcd_puts(0, 4, buf); - snprintf(buf, 32, "PR: %s", pr_polarity?"positive":"negative"); - lcd_puts(0, 5, buf); + lcd_puts(0, 4, buf); if (got_id) snprintf(buf, 32, "Flash: M=%02x D=%02x", manu, id); else snprintf(buf, 32, "Flash: M=?? D=??"); /* unknown, sorry */ - lcd_puts(0, 6, buf); + lcd_puts(0, 5, buf); if (has_bootrom) { @@ -372,8 +368,13 @@ bool dbg_hw_info(void) { snprintf(buf, 32, "Boot ROM: none"); } + lcd_puts(0, 6, buf); + +#ifndef HAVE_MMC /* have ATA */ + snprintf(buf, 32, "ATA: 0x%x,%s", ata_io_address, + ata_device ? "slave":"master"); lcd_puts(0, 7, buf); - +#endif lcd_update(); while(1) @@ -580,11 +581,11 @@ bool dbg_ports(void) snprintf(buf, 32, "Batt: %d.%02dV %d%% ", batt_int, batt_frac, battery_level()); lcd_puts(0, 6, buf); - +#ifndef HAVE_MMC /* have ATA */ snprintf(buf, 32, "ATA: %s, 0x%x", ata_device?"slave":"master", ata_io_address); lcd_puts(0, 7, buf); - +#endif lcd_update(); button = button_get_w_tmo(HZ/10); -- cgit v1.2.3