mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Sansa Connect: Fix GIO initialization and screen wakeup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31119 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
488ee77ea2
commit
5e805f2041
4 changed files with 28 additions and 25 deletions
|
|
@ -40,6 +40,14 @@ int usb_detect(void)
|
|||
|
||||
void usb_init_device(void)
|
||||
{
|
||||
/* set TNETV USB nreset high */
|
||||
IO_GIO_DIR0 &= ~(1 << 7);
|
||||
IO_GIO_BITSET0 = (1 << 7);
|
||||
|
||||
/* set VLYNQ port functions */
|
||||
IO_GIO_FSEL1 = 0xAAAA;
|
||||
IO_GIO_FSEL2 = (IO_GIO_FSEL2 & 0xFFF0) | 0xA;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue