1
0
Fork 0
forked from len0rd/rockbox

AMSv2 sd: correct CLKENA settings (to stop sd clock when idle) for AMSv2 variant 1 players

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29657 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2011-03-28 20:46:56 +00:00
parent 7d74fdec02
commit 5c4c691cd3

View file

@ -617,7 +617,7 @@ static int sd_init_card(const int drive)
/* Set low power mode */
#if defined(SANSA_FUZEV2) || defined(SANSA_CLIPPLUS)
if (amsv2_variant == 1)
MCI_CLKENA |= 1<<16;
MCI_CLKENA |= 1<<(1 + 16);
else
#endif
MCI_CLKENA |= 1<<(drive + 16);