mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 21:55:10 -05:00
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:
parent
4ee5e5c896
commit
26542ddc84
1 changed files with 2 additions and 2 deletions
|
|
@ -41,10 +41,10 @@ void power_init(void)
|
||||||
|
|
||||||
/* Charger detect */
|
/* Charger detect */
|
||||||
/* 25: input, non-inverted, no-irq, falling edge, no-chat, normal */
|
/* 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 */
|
/* 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);
|
dm320_set_io(26, false, false, false, false, false, 0x00);
|
||||||
IO_GIO_BITCLR1 = 1<<10; /* Make sure it is not active */
|
IO_GIO_BITCLR1 = 1<<10; /* Make sure it is not active */
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue