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 /Projects/Webserver/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 'Projects/Webserver/Lib/DataflashManager.h')
-rw-r--r-- | Projects/Webserver/Lib/DataflashManager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Projects/Webserver/Lib/DataflashManager.h b/Projects/Webserver/Lib/DataflashManager.h index acbeba54ce..a53c887766 100644 --- a/Projects/Webserver/Lib/DataflashManager.h +++ b/Projects/Webserver/Lib/DataflashManager.h @@ -64,6 +64,9 @@ */ #define VIRTUAL_MEMORY_BLOCKS (VIRTUAL_MEMORY_BYTES / VIRTUAL_MEMORY_BLOCK_SIZE) + /** Indicates if the disk is write protected or not. */ + #define DISK_READ_ONLY false + /* Function Prototypes: */ void DataflashManager_WriteBlocks(USB_ClassInfo_MS_Device_t* const MSInterfaceInfo, const uint32_t BlockAddress, |