mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
disk: Clean up identing (no funcitonal change)
Change-Id: I7a689132b155579ab3938231330f5bde7566809b
This commit is contained in:
parent
bf2a929f4e
commit
d401501fda
1 changed files with 14 additions and 15 deletions
|
|
@ -337,8 +337,7 @@ int disk_mount(int drive)
|
||||||
if (!fat_mount(IF_MV(volume,) IF_MD(drive,) 0))
|
if (!fat_mount(IF_MV(volume,) IF_MD(drive,) 0))
|
||||||
{
|
{
|
||||||
#ifdef MAX_LOG_SECTOR_SIZE
|
#ifdef MAX_LOG_SECTOR_SIZE
|
||||||
disk_sector_multiplier[drive] =
|
disk_sector_multiplier[drive] = fat_get_bytes_per_sector(IF_MV(volume)) / SECTOR_SIZE;
|
||||||
fat_get_bytes_per_sector(IF_MV(volume)) / SECTOR_SIZE;
|
|
||||||
#endif
|
#endif
|
||||||
mounted = 1;
|
mounted = 1;
|
||||||
init_volume(&volumes[volume], drive, 0);
|
init_volume(&volumes[volume], drive, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue