Added incomplete PrinterHost demo application.
[pub/USBasp.git] / Demos / Device / LowLevel / MassStorage / MassStorage.c
index f0984a2..ebb8e5c 100644 (file)
@@ -254,9 +254,9 @@ static bool ReadInCommandBlock(void)
          return false;\r
 \r
        /* Verify the command block - abort if invalid */\r
-       if ((CommandBlock.Signature != CBW_SIGNATURE) ||\r
-           (CommandBlock.LUN >= TOTAL_LUNS) ||\r
-               (CommandBlock.SCSICommandLength > MAX_SCSI_COMMAND_LENGTH))\r
+       if ((CommandBlock.Signature         != CBW_SIGNATURE) ||\r
+           (CommandBlock.LUN               >= TOTAL_LUNS)    ||\r
+               (CommandBlock.SCSICommandLength >  MAX_SCSI_COMMAND_LENGTH))\r
        {\r
                /* Stall both data pipes until reset by host */\r
                Endpoint_StallTransaction();\r