diff options
author | Dean Camera <[email protected]> | 2010-11-26 04:16:47 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2010-11-26 04:16:47 +0000 |
commit | 9f7883fa2b78fd7907162987fc65b71d3c6b19fa (patch) | |
tree | ee3e4fc2497bce62e965054fe6957a7b239839ac /Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.h | |
parent | b634ec50a0646a1575d89add8ac851f7d8a66332 (diff) | |
download | qmk_firmware-9f7883fa2b78fd7907162987fc65b71d3c6b19fa.tar.gz qmk_firmware-9f7883fa2b78fd7907162987fc65b71d3c6b19fa.zip |
Added ability to write protect Mass Storage disk write operations from the host OS.
Diffstat (limited to 'Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.h')
-rw-r--r-- | Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.h b/Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.h index 3db19dad46..d7f8605be0 100644 --- a/Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.h +++ b/Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.h @@ -63,12 +63,6 @@ /** Total number of blocks of the virtual memory for reporting to the host as the device's total capacity. */ #define VIRTUAL_MEMORY_BLOCKS (VIRTUAL_MEMORY_BYTES / VIRTUAL_MEMORY_BLOCK_SIZE) - /** Total number of logical drives within the device - must be non-zero. */ - #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) - /* Function Prototypes: */ void DataflashManager_WriteBlocks(USB_ClassInfo_MS_Device_t* const MSInterfaceInfo, const uint32_t BlockAddress, |