mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Sansa AMS: Add read/write and drive info to panic message for SD transfer errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23829 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f793653677
commit
d8f420a48d
1 changed files with 2 additions and 1 deletions
|
|
@ -756,7 +756,8 @@ static int sd_transfer_sectors(IF_MD2(int drive,) unsigned long start,
|
|||
loops = 0; /* reset errors counter */
|
||||
}
|
||||
else if(loops++ > PL180_MAX_TRANSFER_ERRORS)
|
||||
panicf("SD transfer error : 0x%x", transfer_error[drive]);
|
||||
panicf("SD Xfer %s err:0x%x Disk%d", (write? "write": "read"),
|
||||
transfer_error[drive], drive);
|
||||
|
||||
last_disk_activity = current_tick;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue