mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 05:32:47 +00:00
sdmmc.c: Corrected OCR register value on SD init to the one from Process9
Thanks @profi200 !
This commit is contained in:
parent
31fd7f88e9
commit
14c97a7f6b
@ -482,7 +482,7 @@ int SD_Init()
|
||||
do
|
||||
{
|
||||
sdmmc_send_command(&handleSD,0x10437,handleSD.initarg << 0x10);
|
||||
sdmmc_send_command(&handleSD,0x10769,0x00FF8000 | temp);
|
||||
sdmmc_send_command(&handleSD,0x10769,0x10100000 | temp); // Allow 150mA, 3.2-3.3V (from Process9)
|
||||
temp2 = 1;
|
||||
} while ( !(handleSD.error & 1) );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user