forked from len0rd/rockbox
Trying to mount as raw disk if no partition is found
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1354 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
222ce15a29
commit
22771c2cba
1 changed files with 4 additions and 1 deletions
|
@ -134,6 +134,9 @@ void init(void)
|
|||
}
|
||||
}
|
||||
if ( i==4 ) {
|
||||
DEBUGF("No partition found, trying to mount sector 0.\n");
|
||||
rc = fat_mount(0);
|
||||
if(rc)
|
||||
panicf("No FAT32 partition!");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue