Added ability to write protect Mass Storage disk write operations from the host OS.
This commit is contained in:
parent
b634ec50a0
commit
9f7883fa2b
20 changed files with 252 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue