diff options
author | Mark Arigo <markarigo@gmail.com> | 2008-05-13 02:50:31 +0000 |
---|---|---|
committer | Mark Arigo <markarigo@gmail.com> | 2008-05-13 02:50:31 +0000 |
commit | 3e743ec6c9685ef3b7d9729e2b21236bf66bed93 (patch) | |
tree | 199570de7b6cb44ef7ccf26090fbbaa061b6101c /firmware/usbstack | |
parent | 76567482215b9d786ba329072b715729ea506b7e (diff) | |
download | rockbox-3e743ec6c9685ef3b7d9729e2b21236bf66bed93.tar.gz rockbox-3e743ec6c9685ef3b7d9729e2b21236bf66bed93.zip |
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
Diffstat (limited to 'firmware/usbstack')
-rw-r--r-- | firmware/usbstack/usb_storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/usbstack/usb_storage.c b/firmware/usbstack/usb_storage.c index c496e5142b..72306995aa 100644 --- a/firmware/usbstack/usb_storage.c +++ b/firmware/usbstack/usb_storage.c | |||
@@ -605,7 +605,7 @@ static void handle_scsi(struct command_block_wrapper* cbw) | |||
605 | unsigned char lun = cbw->lun; | 605 | unsigned char lun = cbw->lun; |
606 | #endif | 606 | #endif |
607 | unsigned int block_size_mult = 1; | 607 | unsigned int block_size_mult = 1; |
608 | #ifdef HAVE_HOTSWAP | 608 | #if defined(HAVE_ATA_SD) || defined(HAVE_HOTSWAP) |
609 | tCardInfo* cinfo = card_get_info(lun); | 609 | tCardInfo* cinfo = card_get_info(lun); |
610 | if(cinfo->initialized==1 && cinfo->numblocks > 0) { | 610 | if(cinfo->initialized==1 && cinfo->numblocks > 0) { |
611 | block_size = cinfo->blocksize; | 611 | block_size = cinfo->blocksize; |