forked from len0rd/rockbox
storage: rename MAX_LOG_SECTOR_SIZE to MAX_VIRT_SECTOR_SIZE
Change-Id: I34f00748c1b0935d65af5f0fc6bdd13356ff31e1
This commit is contained in:
parent
7ecab006c0
commit
bc6c189dcb
15 changed files with 38 additions and 38 deletions
|
|
@ -793,7 +793,7 @@ static void handle_scsi(struct command_block_wrapper* cbw)
|
|||
lun_present = false;
|
||||
|
||||
unsigned int block_size_mult = 1; /* Number of LOGICAL storage device blocks in each USB block */
|
||||
#ifdef MAX_LOG_SECTOR_SIZE
|
||||
#ifdef MAX_VIRT_SECTOR_SIZE
|
||||
block_size_mult = disk_get_sector_multiplier(IF_MD(lun));
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue