Sansa AMS: Fix Red. Write delay is not included for non HAVE_MULTIDRIVE.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24055 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7bce743218
commit
5a4ca2f04d
1 changed files with 2 additions and 0 deletions
|
@ -752,11 +752,13 @@ static int sd_transfer_sectors(IF_MD2(int drive,) unsigned long start,
|
|||
DMAC_FLOWCTRL_PERI_MEM_TO_PERI, true, false, 0, DMA_S8, NULL);
|
||||
|
||||
/*Small delay for writes prevents data crc failures at lower freqs*/
|
||||
#ifdef HAVE_MULTIDRIVE
|
||||
if((drive == SD_SLOT_AS3525) && !hs_card)
|
||||
{
|
||||
int write_delay = 125;
|
||||
while(write_delay--);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else
|
||||
dma_enable_channel(0, MCI_FIFO(drive), dma_buf,
|
||||
|
|
Loading…
Reference in a new issue