diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/as3525/ata_sd_as3525.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as3525/ata_sd_as3525.c index 56e666744f..07ae44a962 100644 --- a/firmware/target/arm/as3525/ata_sd_as3525.c +++ b/firmware/target/arm/as3525/ata_sd_as3525.c | |||
@@ -782,6 +782,9 @@ static int sd_transfer_sectors(IF_MD2(int drive,) unsigned long start, | |||
782 | int write_delay = 125; | 782 | int write_delay = 125; |
783 | while(write_delay--); | 783 | while(write_delay--); |
784 | } | 784 | } |
785 | #else | ||
786 | int write_delay = 125; | ||
787 | while(write_delay--); | ||
785 | #endif | 788 | #endif |
786 | } | 789 | } |
787 | else | 790 | else |