mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
merge 19488 back from the 3.1 branch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19538 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
54c1c770cb
commit
c88cd20ab2
5 changed files with 14 additions and 8 deletions
|
|
@ -601,10 +601,10 @@ static int sd_transfer_sectors(IF_MV2(int drive,) unsigned long start,
|
|||
|
||||
if (card_info[drive].initialized <= 0)
|
||||
{
|
||||
sd_init_card(drive);
|
||||
int ret = sd_init_card(drive);
|
||||
if (!(card_info[drive].initialized))
|
||||
{
|
||||
panicf("card not initialised");
|
||||
panicf("card not initialised %d",ret);
|
||||
goto sd_transfer_error;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue