X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/922e60192dc089654a82be0d789fb7a8ecc47039..bb3879331211a19c3adc3927cac870cc7e36b775:/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c?ds=inline diff --git a/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c b/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c index 855ce8df3..1afc87d46 100644 --- a/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c +++ b/Demos/Host/LowLevel/MassStorageHost/MassStorageHost.c @@ -36,13 +36,12 @@ #include "MassStorageHost.h" -/* Globals */ /** Index of the highest available LUN (Logical Unit) in the attached Mass Storage Device */ uint8_t MassStore_MaxLUNIndex; /** Main program entry point. This routine configures the hardware required by the application, then - * starts the scheduler to run the application tasks. + * enters a loop to run the application tasks in sequence. */ int main(void) { @@ -250,7 +249,7 @@ void MassStorage_Task(void) if (!(ErrorCode)) break; - /* If an error othe than a logical command failure (indicating device busy) returned, abort */ + /* If an error other than a logical command failure (indicating device busy) returned, abort */ if (ErrorCode != MASS_STORE_SCSI_COMMAND_FAILED) { ShowDiskReadError(PSTR("Test Unit Ready"), ErrorCode); @@ -277,7 +276,7 @@ void MassStorage_Task(void) /* Display the disk capacity in blocks * block size bytes */ printf_P(PSTR("%lu blocks of %lu bytes.\r\n"), DiskCapacity.Blocks, DiskCapacity.BlockSize); - /* Create a new buffer capabable of holding a single block from the device */ + /* Create a new buffer capable of holding a single block from the device */ uint8_t BlockBuffer[DiskCapacity.BlockSize]; /* Read in the first 512 byte block from the device */