forked from len0rd/rockbox
Fix the sound on the c200 by resetting all devices as done on the e200. Make the reset sequence like the c200 OF with hopefully no ill effects to the e200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14762 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e4363c116c
commit
a80c0e8b83
1 changed files with 2 additions and 1 deletions
|
@ -198,8 +198,9 @@ void system_init(void)
|
|||
#ifndef BOOTLOADER
|
||||
if (CURRENT_CORE == CPU)
|
||||
{
|
||||
#ifdef SANSA_E200
|
||||
#if defined(SANSA_E200) || defined(SANSA_C200)
|
||||
/* Reset all devices */
|
||||
outl(inl(0x60006008) | 0x20, 0x60006008);
|
||||
DEV_RS = 0x3bfffef8;
|
||||
outl(0xffffffff, 0x60006008);
|
||||
DEV_RS = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue