Don't print partition sizes in megabytes, as that is buggy on 5.5G. Use sectors instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19170 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6640978129
commit
ac355de664
|
@ -298,8 +298,8 @@ void* main(void)
|
|||
}
|
||||
|
||||
pinfo = disk_partinfo(1);
|
||||
printf("Partition 1: 0x%02x %ld MB",
|
||||
pinfo->type, pinfo->size / 2048);
|
||||
printf("Partition 1: 0x%02x %ld sectors",
|
||||
pinfo->type, pinfo->size);
|
||||
|
||||
if (button_was_held || (btn==BUTTON_MENU)) {
|
||||
/* If either the hold switch was on, or the Menu button was held, then
|
||||
|
|
Loading…
Reference in New Issue