Remove serial driver use from the AVRISP project now that it is no longer needed.
[pub/USBasp.git] / Demos / Host / LowLevel / MassStorageHost / MassStorageHost.c
index 855ce8d..1afc87d 100644 (file)
 \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
@@ -250,7 +249,7 @@ void MassStorage_Task(void)
                                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
@@ -277,7 +276,7 @@ void MassStorage_Task(void)
                        /* 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