\r
do\r
{\r
- if (USB_HostState != HOST_STATE_Configured)\r
- break;\r
-\r
if (MS_Host_TestUnitReady(&FlashDisk_MS_Interface, 0, &DeviceReady))\r
{\r
printf("Error waiting for device to be ready.\r\n");\r
break;\r
}\r
}\r
- while (DeviceReady == false);\r
+ while (!(DeviceReady));\r
\r
puts_P(PSTR("Retrieving Capacity... "));\r
\r