summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-12-15 17:22:47 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-12-15 17:22:47 +0000
commit5ab697e8e1855cd72238488a797654341713ee00 (patch)
treef0d32797a4a026c92d5cf49a458ecaa4ee8bba42 /firmware
parent853638274de565d6822e8bc36a9774ab25713c47 (diff)
Really fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31273 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/common/disk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/common/disk.c b/firmware/common/disk.c
index 62f2179b2e..89805729a6 100644
--- a/firmware/common/disk.c
+++ b/firmware/common/disk.c
@@ -183,7 +183,9 @@ int disk_mount(int drive)
volume = get_free_volume();
pinfo = disk_init(IF_MD(drive));
+#ifdef MAX_LOG_SECTOR_SIZE
disk_sector_multiplier[drive] = 1;
+#endif
if (pinfo == NULL)
{