diff options
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/as3525/ata_sd_as3525.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as3525/ata_sd_as3525.c index 342be613c5..6d6b275fba 100644 --- a/firmware/target/arm/as3525/ata_sd_as3525.c +++ b/firmware/target/arm/as3525/ata_sd_as3525.c | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | /* TODO: Find the real capacity of >2GB models (will be useful for USB) */ | 25 | /* TODO: Find the real capacity of >2GB models (will be useful for USB) */ |
26 | 26 | ||
27 | #include "config.h" /* for HAVE_MULTIVOLUME */ | 27 | #include "config.h" /* for HAVE_MULTIVOLUME & AMS_OF_SIZE */ |
28 | #include "fat.h" | 28 | #include "fat.h" |
29 | #include "thread.h" | 29 | #include "thread.h" |
30 | #include "hotswap.h" | 30 | #include "hotswap.h" |
@@ -632,11 +632,7 @@ static int sd_transfer_sectors(IF_MV2(int drive,) unsigned long start, | |||
632 | 632 | ||
633 | /* skip SanDisk OF */ | 633 | /* skip SanDisk OF */ |
634 | if (drive == INTERNAL_AS3525) | 634 | if (drive == INTERNAL_AS3525) |
635 | #if defined(SANSA_E200V2) || defined(SANSA_FUZE) | 635 | start += AMS_OF_SIZE; |
636 | start += 0xf000; | ||
637 | #else | ||
638 | start += 0x5000; | ||
639 | #endif | ||
640 | 636 | ||
641 | mutex_lock(&sd_mtx); | 637 | mutex_lock(&sd_mtx); |
642 | #ifndef BOOTLOADER | 638 | #ifndef BOOTLOADER |