mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
debug: Correct formatting when displaying drive size.
Change-Id: I95e9a257dcad548ec4378d01c0f9b4370ebf5318
This commit is contained in:
parent
8daf1f1bfe
commit
d3b7eba405
2 changed files with 4 additions and 4 deletions
|
|
@ -1359,7 +1359,7 @@ void ata_get_info(IF_MD(int drive,)struct storage_info *info)
|
|||
#endif
|
||||
int i;
|
||||
|
||||
/* Logical sector size */
|
||||
/* Logical sector size > 512B ? */
|
||||
if ((identify_info[106] & 0xd000) == 0x5000)
|
||||
info->sector_size = identify_info[117] | (identify_info[118] << 16);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue