M:Robe 500 - Correct a comment, and make charger detect pin an input as it should be.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24274 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2010-01-18 16:28:39 +00:00
parent 4ee5e5c896
commit 26542ddc84

View file

@ -41,10 +41,10 @@ void power_init(void)
/* Charger detect */
/* 25: input, non-inverted, no-irq, falling edge, no-chat, normal */
dm320_set_io(25, false, false, false, false, false, 0x00);
dm320_set_io(25, true, false, false, false, false, 0x00);
/* Power down pin */
/* 26: input, non-inverted, no-irq, falling edge, no-chat, normal */
/* 26: output, non-inverted, no-irq, falling edge, no-chat, normal */
dm320_set_io(26, false, false, false, false, false, 0x00);
IO_GIO_BITCLR1 = 1<<10; /* Make sure it is not active */
}