diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-13 08:14:16 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-13 08:14:16 +0000 |
commit | 99abd1a8b7c096baf5ddaff84a8f8fdfb097dfc2 (patch) | |
tree | 9bba0a7d135766431ab58076b5753e68f7005736 /Demos/Host/ClassDriver/MassStorageHost | |
parent | df5500e81cc40633eb5edee59410030f0aa77c2d (diff) | |
download | lufa-99abd1a8b7c096baf5ddaff84a8f8fdfb097dfc2.tar.gz lufa-99abd1a8b7c096baf5ddaff84a8f8fdfb097dfc2.tar.bz2 lufa-99abd1a8b7c096baf5ddaff84a8f8fdfb097dfc2.zip |
Added explicit attribute masks to the device mode demos' descriptors.
Diffstat (limited to 'Demos/Host/ClassDriver/MassStorageHost')
-rw-r--r-- | Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c b/Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c index 761b379dc..19c77c378 100644 --- a/Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c +++ b/Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c @@ -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... "));
|