diff options
author | Amaury Pouly <pamaury@rockbox.org> | 2011-12-15 17:07:19 +0000 |
---|---|---|
committer | Amaury Pouly <pamaury@rockbox.org> | 2011-12-15 17:07:19 +0000 |
commit | 3a6e3c254e5518c110ecaededebc26c5ae431552 (patch) | |
tree | 0557d685bd97778bf7d7cda0f9b307af1e20a900 /firmware/usbstack/usb_storage.c | |
parent | 39148be8ac62d5e2d43f207dcccf2426eaa97310 (diff) |
Add support for for per-drive logical sector size. This allows targets to have a different logical sector size for the internal storage and the sd card, like on the fuze+ for example.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31270 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/usbstack/usb_storage.c')
-rw-r--r-- | firmware/usbstack/usb_storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/usbstack/usb_storage.c b/firmware/usbstack/usb_storage.c index a178f06f87..64764f178d 100644 --- a/firmware/usbstack/usb_storage.c +++ b/firmware/usbstack/usb_storage.c @@ -787,7 +787,7 @@ static void handle_scsi(struct command_block_wrapper* cbw) lun_present = false; #ifdef MAX_LOG_SECTOR_SIZE - block_size_mult = disk_sector_multiplier; + block_size_mult = disk_get_sector_multiplier(lun); #endif cur_cmd.tag = cbw->tag; |