forked from len0rd/rockbox
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
This commit is contained in:
parent
d3069d00c0
commit
844d22f277
2 changed files with 1 additions and 2 deletions
|
|
@ -1079,7 +1079,7 @@ bool dbg_ports(void)
|
||||||
return false;
|
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_a, gpio_b, gpio_c, gpio_d;
|
||||||
unsigned int gpio_e, gpio_f, gpio_g, gpio_h;
|
unsigned int gpio_e, gpio_f, gpio_g, gpio_h;
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,6 @@ static struct event_queue sd_queue;
|
||||||
bool sd_send_command(unsigned int cmd, unsigned long arg1, unsigned int arg2)
|
bool sd_send_command(unsigned int cmd, unsigned long arg1, unsigned int arg2)
|
||||||
{
|
{
|
||||||
bool result = false;
|
bool result = false;
|
||||||
unsigned char cbuf[32];
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
CMD_REG0 = cmd;
|
CMD_REG0 = cmd;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue