diff options
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/as3525/ata_sd_as3525.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as3525/ata_sd_as3525.c index 6513750652..8d0dc042b9 100644 --- a/firmware/target/arm/as3525/ata_sd_as3525.c +++ b/firmware/target/arm/as3525/ata_sd_as3525.c @@ -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, |