iRiver: The hard drive power is now OFF by default
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6551 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e2c93176f2
commit
794220c116
2 changed files with 4 additions and 2 deletions
|
@ -188,7 +188,7 @@ void main(void)
|
|||
|
||||
lcd_setfont(FONT_SYSFIXED);
|
||||
|
||||
snprintf(buf, 256, "Rockboot version 1");
|
||||
snprintf(buf, 256, "Rockboot version 2");
|
||||
lcd_puts(0, line++, buf);
|
||||
|
||||
sleep(HZ/50); /* Allow the button driver to check the buttons */
|
||||
|
|
|
@ -67,7 +67,9 @@ void power_init(void)
|
|||
GPIO1_OUT |= 0x00080000;
|
||||
GPIO1_ENABLE |= 0x00080000;
|
||||
GPIO1_FUNCTION |= 0x00080000;
|
||||
|
||||
|
||||
/* Hard drive power, default = off */
|
||||
GPIO_OUT |= 0x80000000;
|
||||
GPIO_ENABLE |= 0x80000000;
|
||||
GPIO_FUNCTION |= 0x80000000;
|
||||
#ifdef HAVE_SPDIF_POWER
|
||||
|
|
Loading…
Reference in a new issue