summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/ata_sd_as3525.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as3525/ata_sd_as3525.c
index 85b1daff5e..56e666744f 100644
--- a/firmware/target/arm/as3525/ata_sd_as3525.c
+++ b/firmware/target/arm/as3525/ata_sd_as3525.c
@@ -777,7 +777,7 @@ static int sd_transfer_sectors(IF_MD2(int drive,) unsigned long start,
777 DMAC_FLOWCTRL_PERI_MEM_TO_PERI, true, false, 0, DMA_S8, NULL); 777 DMAC_FLOWCTRL_PERI_MEM_TO_PERI, true, false, 0, DMA_S8, NULL);
778#if defined(HAVE_MULTIDRIVE) 778#if defined(HAVE_MULTIDRIVE)
779 /*Small delay for writes prevents data crc failures at lower freqs*/ 779 /*Small delay for writes prevents data crc failures at lower freqs*/
780 if((drive == SD_SLOT_AS3525) && !hs_card) 780 if(!hs_card)
781 { 781 {
782 int write_delay = 125; 782 int write_delay = 125;
783 while(write_delay--); 783 while(write_delay--);