X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/ca641bba8356851dd8144bde4a10bc5e5c647930..6a8e27f7ee43169b9f6eb928b12e00d6306618ff:/Demos/Host/MassStorageHost/MassStoreCommands.h?ds=sidebyside diff --git a/Demos/Host/MassStorageHost/MassStoreCommands.h b/Demos/Host/MassStorageHost/MassStoreCommands.h index adab4fb0a..28f6a1561 100644 --- a/Demos/Host/MassStorageHost/MassStoreCommands.h +++ b/Demos/Host/MassStorageHost/MassStoreCommands.h @@ -54,7 +54,7 @@ /** Command Block Wrapper signature byte, for verification of valid CBW blocks */ #define CBW_SIGNATURE 0x43425355UL - /** Command Statuc Wrapper signature byte, for verification of valid CSW blocks */ + /** Command Static Wrapper signature byte, for verification of valid CSW blocks */ #define CSW_SIGNATURE 0x53425355UL /** Data direction mask for the Flags field of a CBW, indicating Host-to-Device transfer direction */ @@ -98,21 +98,20 @@ { uint32_t Signature; /**< Command status signature, always equal to CSW_SIGNATURE */ uint32_t Tag; /**< Current CBW tag, to positively associate a CBW with a CSW */ - uint32_t DataTransferResidue; /**< Length of data not transfered */ + uint32_t DataTransferResidue; /**< Length of data not transferred */ uint8_t Status; /**< Command status, a value from the MassStorageHost_CommandStatusCodes_t enum */ } CommandStatusWrapper_t; /** Type define for a SCSI Sense structure. Structures of this type are filled out by the * device via the MassStore_RequestSense() function, indicating the current sense data of the - * device (giving explitic error codes for the last issued command). For details of the + * device (giving explicit error codes for the last issued command). For details of the * structure contents, refer to the SCSI specifications. */ typedef struct { - unsigned char ReponseCode : 7; - unsigned char Valid : 1; - - uint8_t SegmentNumber; + uint8_t ReponseCode; + + uint8_t SegmentNumber; unsigned char SenseKey : 4; unsigned char _RESERVED1 : 1;