\r
#include "MassStorageHost.h"\r
\r
-/* Globals */\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
- * starts the scheduler to run the application tasks.\r
+ * enters a loop to run the application tasks in sequence.\r
*/\r
int main(void)\r
{\r
if (!(ErrorCode))\r
break;\r
\r
- /* If an error othe than a logical command failure (indicating device busy) returned, abort */\r
+ /* If an error other than a logical command failure (indicating device busy) returned, abort */\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
- /* Create a new buffer capabable of holding a single block from the device */\r
+ /* Create a new buffer capable of holding a single block from the device */\r
uint8_t BlockBuffer[DiskCapacity.BlockSize];\r
\r
/* Read in the first 512 byte block from the device */\r