if (ErrorCode != MASS_STORE_SCSI_COMMAND_FAILED)\r
{\r
ShowDiskReadError(PSTR("Test Unit Ready"), ErrorCode);\r
if (ErrorCode != MASS_STORE_SCSI_COMMAND_FAILED)\r
{\r
ShowDiskReadError(PSTR("Test Unit Ready"), ErrorCode);\r
/* Display the disk capacity in blocks * block size bytes */\r
printf_P(PSTR("%lu blocks of %lu bytes.\r\n"), DiskCapacity.Blocks, DiskCapacity.BlockSize);\r
\r
/* Display the disk capacity in blocks * block size bytes */\r
printf_P(PSTR("%lu blocks of %lu bytes.\r\n"), DiskCapacity.Blocks, DiskCapacity.BlockSize);\r
\r
uint8_t BlockBuffer[DiskCapacity.BlockSize];\r
\r
/* Read in the first 512 byte block from the device */\r
uint8_t BlockBuffer[DiskCapacity.BlockSize];\r
\r
/* Read in the first 512 byte block from the device */\r