From a765f717273728139966f97c634ccffe52d218df Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Wed, 26 Aug 2009 07:51:40 +0000 Subject: Add SCSICodes.h to the Class Driver Common folder, and automatically include it in both the Host and Device Mass Storage Class drivers. Delete existing version from the ClassDriver MassStorage device demo's /Lib/ folder. --- Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Demos/Host/ClassDriver') diff --git a/Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c b/Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c index 27662db75..d9fe47d3b 100644 --- a/Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c +++ b/Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c @@ -139,7 +139,7 @@ int main(void) } SCSI_Inquiry_Response_t InquiryData; - if (MS_Host_GetInquiryData(&FlashDisk_MS_Interface, &InquiryData)) + if (MS_Host_GetInquiryData(&FlashDisk_MS_Interface, 0, &InquiryData)) { printf("Error retreiving device Inquiry data.\r\n"); LEDs_SetAllLEDs(LEDMASK_USB_ERROR); -- cgit v1.2.3