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.
This commit is contained in:
parent
31d8ebebc0
commit
a765f71727
7 changed files with 50 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue