summaryrefslogtreecommitdiff
path: root/firmware/common/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/disk.c')
-rw-r--r--firmware/common/disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/disk.c b/firmware/common/disk.c
index a9fd346728..62f2179b2e 100644
--- a/firmware/common/disk.c
+++ b/firmware/common/disk.c
@@ -62,7 +62,6 @@ static struct mutex disk_mutex;
#ifdef MAX_LOG_SECTOR_SIZE
static int disk_sector_multiplier[NUM_DRIVES] = {1};
-#endif
int disk_get_sector_multiplier(IF_MD_NONVOID(int drive))
{
@@ -72,6 +71,7 @@ int disk_get_sector_multiplier(IF_MD_NONVOID(int drive))
return disk_sector_multiplier[0];
#endif
}
+#endif
struct partinfo* disk_init(IF_MD_NONVOID(int drive))
{