diff options
-rw-r--r-- | firmware/target/arm/ata-sd-pp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/ata-sd-pp.c b/firmware/target/arm/ata-sd-pp.c index fbbaf09b5d..b15b3634d8 100644 --- a/firmware/target/arm/ata-sd-pp.c +++ b/firmware/target/arm/ata-sd-pp.c | |||
@@ -127,7 +127,7 @@ | |||
127 | #define SD_APP_OP_COND 41 | 127 | #define SD_APP_OP_COND 41 |
128 | 128 | ||
129 | /** global, exported variables **/ | 129 | /** global, exported variables **/ |
130 | #ifdef HAVE_HOTSWAP | 130 | #ifdef HAVE_MULTIVOLUME |
131 | #define NUM_VOLUMES 2 | 131 | #define NUM_VOLUMES 2 |
132 | #else | 132 | #else |
133 | #define NUM_VOLUMES 1 | 133 | #define NUM_VOLUMES 1 |
@@ -156,7 +156,7 @@ struct sd_card_status | |||
156 | static struct sd_card_status sd_status[NUM_VOLUMES] = | 156 | static struct sd_card_status sd_status[NUM_VOLUMES] = |
157 | { | 157 | { |
158 | { 0, 1 }, | 158 | { 0, 1 }, |
159 | #ifdef HAVE_HOTSWAP | 159 | #ifdef HAVE_MULTIVOLUME |
160 | { 0, 10 } | 160 | { 0, 10 } |
161 | #endif | 161 | #endif |
162 | }; | 162 | }; |
@@ -794,7 +794,7 @@ static void ata_led(bool onoff) | |||
794 | int ata_read_sectors(IF_MV2(int drive,) unsigned long start, int incount, | 794 | int ata_read_sectors(IF_MV2(int drive,) unsigned long start, int incount, |
795 | void* inbuf) | 795 | void* inbuf) |
796 | { | 796 | { |
797 | #ifndef HAVE_HOTSWAP | 797 | #ifndef HAVE_MULTIVOLUME |
798 | const int drive = 0; | 798 | const int drive = 0; |
799 | #endif | 799 | #endif |
800 | int ret; | 800 | int ret; |
@@ -911,7 +911,7 @@ int ata_write_sectors(IF_MV2(int drive,) unsigned long start, int count, | |||
911 | /* Write support is not finished yet */ | 911 | /* Write support is not finished yet */ |
912 | /* TODO: The standard suggests using ACMD23 prior to writing multiple blocks | 912 | /* TODO: The standard suggests using ACMD23 prior to writing multiple blocks |
913 | to improve performance */ | 913 | to improve performance */ |
914 | #ifndef HAVE_HOTSWAP | 914 | #ifndef HAVE_MULTIVOLUME |
915 | const int drive = 0; | 915 | const int drive = 0; |
916 | #endif | 916 | #endif |
917 | int ret; | 917 | int ret; |