diff options
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; |