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/LowLevel/MassStorage/MassStorage.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/LowLevel/MassStorage/MassStorage.h')
-rw-r--r-- | Demos/Device/LowLevel/MassStorage/MassStorage.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Demos/Device/LowLevel/MassStorage/MassStorage.h b/Demos/Device/LowLevel/MassStorage/MassStorage.h index 0baa369442..d817075d87 100644 --- a/Demos/Device/LowLevel/MassStorage/MassStorage.h +++ b/Demos/Device/LowLevel/MassStorage/MassStorage.h @@ -68,6 +68,9 @@ /** LED mask for the library LED driver, to indicate that the USB interface is busy. */ #define LEDMASK_USB_BUSY LEDS_LED2 + /** Indicates if the disk is write protected or not. */ + #define DISK_READ_ONLY false + /* Global Variables: */ extern MS_CommandBlockWrapper_t CommandBlock; extern MS_CommandStatusWrapper_t CommandStatus; |