forked from len0rd/rockbox
Preparing for the Philips SA9200 part 2. Since the SA9200 doesn't have a microsd card (no hotswap), use HAVE_ATA_SD for the Sansa flash driver so we don't rely on HAVE_HOTSWAP in some places.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17488 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7656748221
commit
3e743ec6c9
8 changed files with 31 additions and 15 deletions
|
|
@ -605,7 +605,7 @@ static void handle_scsi(struct command_block_wrapper* cbw)
|
|||
unsigned char lun = cbw->lun;
|
||||
#endif
|
||||
unsigned int block_size_mult = 1;
|
||||
#ifdef HAVE_HOTSWAP
|
||||
#if defined(HAVE_ATA_SD) || defined(HAVE_HOTSWAP)
|
||||
tCardInfo* cinfo = card_get_info(lun);
|
||||
if(cinfo->initialized==1 && cinfo->numblocks > 0) {
|
||||
block_size = cinfo->blocksize;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue