Added ability to write protect Mass Storage disk write operations from the host OS.
This commit is contained in:
1 parent
b634ec50a0
commit
9f7883fa2b
20 files changed
+252
-16
No files matched your search
@@ -73,6 +73,9 @@
|
||||
|
||||
/** 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)
|
||||
|
||||
/** Indicates if the disk is write protected or not. */
|
||||
#define DISK_READ_ONLY false
|
||||
|
||||
/* Function Prototypes: */
|
||||
void SetupHardware(void);
|
||||
|
||||
Reference in new issue
Block a user