diff options
author | Dean Camera <[email protected]> | 2010-07-15 10:34:29 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2010-07-15 10:34:29 +0000 |
commit | 40631e9fe5f0782c1fbc3019904d1298ac365cd1 (patch) | |
tree | 947c29ca6189a7943446b476e204ca17591d65e9 /Demos/Device/LowLevel/MassStorage/MassStorage.h | |
parent | e2e1fe5aad50809f00f6f5258432bd7aa605f47c (diff) | |
download | qmk_firmware-40631e9fe5f0782c1fbc3019904d1298ac365cd1.tar.gz qmk_firmware-40631e9fe5f0782c1fbc3019904d1298ac365cd1.zip |
Fix pointer aliasing warning in the Mass Storage demos.
Diffstat (limited to 'Demos/Device/LowLevel/MassStorage/MassStorage.h')
-rw-r--r-- | Demos/Device/LowLevel/MassStorage/MassStorage.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Demos/Device/LowLevel/MassStorage/MassStorage.h b/Demos/Device/LowLevel/MassStorage/MassStorage.h index 0d05283f3f..97b9de04f2 100644 --- a/Demos/Device/LowLevel/MassStorage/MassStorage.h +++ b/Demos/Device/LowLevel/MassStorage/MassStorage.h @@ -60,15 +60,7 @@ #define REQ_GetMaxLUN 0xFE /** Maximum length of a SCSI command which can be issued by the device or host in a Mass Storage bulk wrapper. */ - #define MAX_SCSI_COMMAND_LENGTH 16 - - /** Total number of Logical Units (drives) in the device. The total device capacity is shared equally between - * each drive - this can be set to any positive non-zero amount. - */ - #define TOTAL_LUNS 1 - - /** Blocks in each LUN, calculated from the total capacity divided by the total number of Logical Units in the device. */ - #define LUN_MEDIA_BLOCKS (VIRTUAL_MEMORY_BLOCKS / TOTAL_LUNS) + #define MAX_SCSI_COMMAND_LENGTH 16 /** Magic signature for a Command Block Wrapper used in the Mass Storage Bulk-Only transport protocol. */ #define CBW_SIGNATURE 0x43425355UL |