Skip to content

Commit 1c3c30e

Browse files
committed
Corrected OCR register value on SD init to the one from Process9.
1 parent af04f10 commit 1c3c30e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/arm9/hardware/sdmmc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ int SD_Init()
466466
do
467467
{
468468
sdmmc_send_command(&handleSD,0x10437,handleSD.initarg << 0x10);
469-
sdmmc_send_command(&handleSD,0x10769,0x00FF8000 | temp);
469+
sdmmc_send_command(&handleSD,0x10769,0x10100000 | temp); // Allow 150mA, 3.2-3.3V (from Process9)
470470
temp2 = 1;
471471
} while ( !(handleSD.error & 1) );
472472
}

0 commit comments

Comments
 (0)