Added explicit attribute masks to the device mode demos' descriptors.

This commit is contained in:
Dean Camera 2009-08-13 08:14:16 +00:00
parent df5500e81c
commit 99abd1a8b7
26 changed files with 61 additions and 63 deletions

View file

@ -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... "));