summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Ankers <dan@weirdo.org.uk>2006-11-25 15:57:07 +0000
committerDaniel Ankers <dan@weirdo.org.uk>2006-11-25 15:57:07 +0000
commit844d22f277627e4c32aad51701648bd9a9d05a14 (patch)
tree6457093268098ee2244224235d70a54683dcd1f6
parentd3069d00c0bacf9f38fdeb2cb8b265463ac1f0ca (diff)
downloadrockbox-844d22f277627e4c32aad51701648bd9a9d05a14.tar.gz
rockbox-844d22f277627e4c32aad51701648bd9a9d05a14.zip
Allow GPIO debug screen on Sansa. Also remove a warning from the NAND driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11593 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/debug_menu.c2
-rw-r--r--firmware/target/arm/sandisk/sansa-e200/ata-e200.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index d127aefbfb..b786199c76 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1079,7 +1079,7 @@ bool dbg_ports(void)
return false;
}
-#elif CONFIG_CPU == PP5020
+#elif CONFIG_CPU == PP5020 || CONFIG_CPU == PP5024
unsigned int gpio_a, gpio_b, gpio_c, gpio_d;
unsigned int gpio_e, gpio_f, gpio_g, gpio_h;
diff --git a/firmware/target/arm/sandisk/sansa-e200/ata-e200.c b/firmware/target/arm/sandisk/sansa-e200/ata-e200.c
index 13204b9665..8323574d69 100644
--- a/firmware/target/arm/sandisk/sansa-e200/ata-e200.c
+++ b/firmware/target/arm/sandisk/sansa-e200/ata-e200.c
@@ -121,7 +121,6 @@ static struct event_queue sd_queue;
bool sd_send_command(unsigned int cmd, unsigned long arg1, unsigned int arg2)
{
bool result = false;
- unsigned char cbuf[32];
do
{
CMD_REG0 = cmd;