projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove MIDI ClassDriver device demo's accidental inclusion of the unused ADC peripher...
[pub/USBasp.git]
/
Demos
/
Host
/
LowLevel
/
MassStorageHost
/
Lib
/
MassStoreCommands.h
diff --git
a/Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.h
b/Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.h
index
5c1e80b
..
6280663
100644
(file)
--- a/
Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.h
+++ b/
Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.h
@@
-65,17
+65,11
@@
/** Timeout period between the issuing of a CBW to a device, and the reception of the first packet. */
#define COMMAND_DATA_TIMEOUT_MS 10000
/** Timeout period between the issuing of a CBW to a device, and the reception of the first packet. */
#define COMMAND_DATA_TIMEOUT_MS 10000
-
- /** Pipe number of the Mass Storage data IN pipe. */
- #define MASS_STORE_DATA_IN_PIPE 1
-
- /** Pipe number of the Mass Storage data OUT pipe. */
- #define MASS_STORE_DATA_OUT_PIPE 2
/** Additional error code for Mass Storage functions when a device returns a logical command failure. */
#define MASS_STORE_SCSI_COMMAND_FAILED 0xC0
/** Additional error code for Mass Storage functions when a device returns a logical command failure. */
#define MASS_STORE_SCSI_COMMAND_FAILED 0xC0
- /* Type
d
efines: */
+ /* Type
D
efines: */
/** Type define for a Mass Storage class Command Block Wrapper, used to wrap SCSI
* commands for transport over the USB bulk endpoints to the device.
*/
/** Type define for a Mass Storage class Command Block Wrapper, used to wrap SCSI
* commands for transport over the USB bulk endpoints to the device.
*/
@@
-113,7
+107,7
@@
uint8_t SegmentNumber;
unsigned char SenseKey : 4;
uint8_t SegmentNumber;
unsigned char SenseKey : 4;
- unsigned char
_RESERVED1
: 1;
+ unsigned char
Reserved
: 1;
unsigned char ILI : 1;
unsigned char EOM : 1;
unsigned char FileMark : 1;
unsigned char ILI : 1;
unsigned char EOM : 1;
unsigned char FileMark : 1;
@@
-136,23
+130,23
@@
unsigned char DeviceType : 5;
unsigned char PeripheralQualifier : 3;
unsigned char DeviceType : 5;
unsigned char PeripheralQualifier : 3;
- unsigned char
_RESERVED1
: 7;
+ unsigned char
Reserved
: 7;
unsigned char Removable : 1;
uint8_t Version;
unsigned char ResponseDataFormat : 4;
unsigned char Removable : 1;
uint8_t Version;
unsigned char ResponseDataFormat : 4;
- unsigned char
_RESERVED2
: 1;
+ unsigned char
Reserved2
: 1;
unsigned char NormACA : 1;
unsigned char TrmTsk : 1;
unsigned char AERC : 1;
uint8_t AdditionalLength;
unsigned char NormACA : 1;
unsigned char TrmTsk : 1;
unsigned char AERC : 1;
uint8_t AdditionalLength;
- uint8_t
_RESERVED
3[2];
+ uint8_t
Reserved
3[2];
unsigned char SoftReset : 1;
unsigned char CmdQue : 1;
unsigned char SoftReset : 1;
unsigned char CmdQue : 1;
- unsigned char
_RESERVED4
: 1;
+ unsigned char
Reserved4
: 1;
unsigned char Linked : 1;
unsigned char Sync : 1;
unsigned char WideBus16Bit : 1;
unsigned char Linked : 1;
unsigned char Sync : 1;
unsigned char WideBus16Bit : 1;