diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-26 07:28:40 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-26 07:28:40 +0000 |
commit | cd39c38d5f39d89da989859afd72576b4c1532aa (patch) | |
tree | dbc615854fa4b622c20d5aad27d09d52adfbc137 /LUFA | |
parent | 6e2920bc84238077446bdb5bdba25a8ef250d05a (diff) | |
download | lufa-cd39c38d5f39d89da989859afd72576b4c1532aa.tar.gz lufa-cd39c38d5f39d89da989859afd72576b4c1532aa.tar.bz2 lufa-cd39c38d5f39d89da989859afd72576b4c1532aa.zip |
Rename reserved members of all structs so that they are uniformly named across all demos/projects/bootloaders.
Added start of the Incomplete TMC demo's command parser code.
Diffstat (limited to 'LUFA')
-rw-r--r-- | LUFA/Drivers/USB/Class/Common/MassStorage.h | 10 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/MassStorage.c | 4 | ||||
-rw-r--r-- | LUFA/ManPages/FutureChanges.txt | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/LUFA/Drivers/USB/Class/Common/MassStorage.h b/LUFA/Drivers/USB/Class/Common/MassStorage.h index ade71a205..dd2da2ffb 100644 --- a/LUFA/Drivers/USB/Class/Common/MassStorage.h +++ b/LUFA/Drivers/USB/Class/Common/MassStorage.h @@ -246,7 +246,7 @@ 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; @@ -273,23 +273,23 @@ 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 _RESERVED2 : 1; + unsigned char Reserved2 : 1; unsigned char NormACA : 1; unsigned char TrmTsk : 1; unsigned char AERC : 1; uint8_t AdditionalLength; - uint8_t _RESERVED3[2]; + uint8_t Reserved3[2]; 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; diff --git a/LUFA/Drivers/USB/Class/Host/MassStorage.c b/LUFA/Drivers/USB/Class/Host/MassStorage.c index 82746cd75..14b7741db 100644 --- a/LUFA/Drivers/USB/Class/Host/MassStorage.c +++ b/LUFA/Drivers/USB/Class/Host/MassStorage.c @@ -546,7 +546,7 @@ uint8_t MS_Host_ReadDeviceBlocks(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, (BlockAddress >> 16), (BlockAddress >> 8), (BlockAddress & 0xFF), // LSB of Block Address - 0x00, // Unused (reserved) + 0x00, // Reserved 0x00, // MSB of Total Blocks to Read Blocks, // LSB of Total Blocks to Read 0x00 // Unused (control) @@ -590,7 +590,7 @@ uint8_t MS_Host_WriteDeviceBlocks(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo (BlockAddress >> 16), (BlockAddress >> 8), (BlockAddress & 0xFF), // LSB of Block Address - 0x00, // Unused (reserved) + 0x00, // Reserved 0x00, // MSB of Total Blocks to Write Blocks, // LSB of Total Blocks to Write 0x00 // Unused (control) diff --git a/LUFA/ManPages/FutureChanges.txt b/LUFA/ManPages/FutureChanges.txt index 9cb7ea92d..020779b97 100644 --- a/LUFA/ManPages/FutureChanges.txt +++ b/LUFA/ManPages/FutureChanges.txt @@ -25,7 +25,7 @@ * -# Multiple-Report HID device * -# Device/Host USB bridge * -# Alternative (USB-IF endorsed) USB-CDC Ethernet Class - * -# USB Test and Measurement Class + * -# Finish Test and Measurement Class demo * -# Finish BluetoothHost demo * -# Finish SideShow demo * -# Finish StandaloneProgrammer project |