forked from len0rd/rockbox
bootloader: Fix red on hosted bootloaders
Fixes: 888ce7cae8
Change-Id: I802779cf158634d5b3b547d74999798cb56d2882
This commit is contained in:
parent
93b1611474
commit
9e79ebf78d
1 changed files with 3 additions and 1 deletions
|
@ -115,14 +115,16 @@ void error(int errortype, int error, bool shutdown)
|
|||
break;
|
||||
|
||||
case EDISK: {
|
||||
struct partinfo pinfo;
|
||||
printf("No partition found");
|
||||
#if !(CONFIG_PLATFORM & PLATFORM_HOSTED)
|
||||
for (int i = 0 ; i < NUM_VOLUMES ; i++) {
|
||||
struct partinfo pinfo;
|
||||
disk_partinfo(i, &pinfo);
|
||||
if (pinfo.type)
|
||||
printf("P%d T%02x S%08lx",
|
||||
i, pinfo.type, pinfo.size);
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
case EBOOTFILE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue