Added explicit attribute masks to the device mode demos' descriptors.
This commit is contained in:
parent
df5500e81c
commit
99abd1a8b7
26 changed files with 61 additions and 63 deletions
|
@ -137,9 +137,6 @@ int main(void)
|
|||
|
||||
do
|
||||
{
|
||||
if (USB_HostState != HOST_STATE_Configured)
|
||||
break;
|
||||
|
||||
if (MS_Host_TestUnitReady(&FlashDisk_MS_Interface, 0, &DeviceReady))
|
||||
{
|
||||
printf("Error waiting for device to be ready.\r\n");
|
||||
|
@ -148,7 +145,7 @@ int main(void)
|
|||
break;
|
||||
}
|
||||
}
|
||||
while (DeviceReady == false);
|
||||
while (!(DeviceReady));
|
||||
|
||||
puts_P(PSTR("Retrieving Capacity... "));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue