diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-08-13 08:14:16 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-08-13 08:14:16 +0000 |
| commit | e0a22e2f642b1ba68bb79f8e34c2a8c8872313a4 (patch) | |
| tree | 9bba0a7d135766431ab58076b5753e68f7005736 /Demos/Host/ClassDriver/MassStorageHost | |
| parent | 5d263f57d66600ca29248ac3572e2d3197834d4f (diff) | |
Added explicit attribute masks to the device mode demos' descriptors.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@738 d5102386-fcda-11dd-9fdb-3debd5008f28
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 761b379d..19c77c37 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... "));
|
