/** Index of the highest available LUN (Logical Unit) in the attached Mass Storage Device */\r
uint8_t MassStore_MaxLUNIndex;\r
\r
\r
/** Main program entry point. This routine configures the hardware required by the application, then\r
/** Index of the highest available LUN (Logical Unit) in the attached Mass Storage Device */\r
uint8_t MassStore_MaxLUNIndex;\r
\r
\r
/** Main program entry point. This routine configures the hardware required by the application, then\r
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