aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/ClassDriver
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-08-26 07:51:40 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-08-26 07:51:40 +0000
commita765f717273728139966f97c634ccffe52d218df (patch)
treec3f7f833a1ff82315e6b4f9793a4b2aa7d5a51c5 /Demos/Host/ClassDriver
parent31d8ebebc0796873f7c70db80a04acdcbb307ed8 (diff)
downloadlufa-a765f717273728139966f97c634ccffe52d218df.tar.gz
lufa-a765f717273728139966f97c634ccffe52d218df.tar.bz2
lufa-a765f717273728139966f97c634ccffe52d218df.zip
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.
Diffstat (limited to 'Demos/Host/ClassDriver')
-rw-r--r--Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c2
1 files changed, 1 insertions, 1 deletions
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);